Focal Point
Maintain: Sending Silent E-Mail

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3911058382

May 12, 2008, 11:40 AM
Maintain Wizard
Maintain: Sending Silent E-Mail
Have any of you come up with a way to send silent E-mail from Maintain? Over the years I have come up with a couple of methods, but I am looking for a better one.

Using the Mailto function is fine, but that displays Outlook and the user has to hit submit.
I was even able to create an Active X object that does it, but that requires having to change the security level of your browser for unsigned objects.
The last way involved using DSTRUN to kick off a routine, but that had its own issues.

So, anyone have a good way of automatically kicking off e-mail from Maintain?

Let me know.

Thanks
Mark
May 12, 2008, 01:00 PM
Tony A
Mark,

Could you use CDO? It's the method I use from my websites - OK ASP and not WF but the priciples the same.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
May 13, 2008, 01:11 PM
Maintain Wizard
Tony - Tp be perfectly honest, I have never seen this type of code before. How is it kicked off and how is it stored?

You bet I am looking forward to Summit. Only a couple more weeks away!

Mark
May 13, 2008, 05:10 PM
Tony A
Mark,

PM waiting for you already.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
May 13, 2008, 05:52 PM
Waz
What environment are you running in?

I have set up an email from Maintain, but it did involve Report Caster. What we did was to have a process run regularly, and have maintain update a flag in the DB, then the process would look for the flag, produce the report, burst it, and reset the flag.

There, also may be a way to send a mail from the OS.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

May 15, 2008, 04:19 PM
Tony A
Mark,

I guess from your comment above regarding Summit, that you got my PM. Did it help at all?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
May 15, 2008, 05:55 PM
Maintain Wizard
Tony
I have to be honest with you. I didn't recognize the code. I got it, but am not sure how to get it working. I'm afraid I need step by step instructions. As always, any help is greatly appreciated.

Mark
May 16, 2008, 04:40 AM
Alan B
Mark,

Like Tony I use ADO, accessed through an AJAX call to be totally silent to the user. Need php if using unix type servers, but my php is limited, but Chili!Soft has an asp emulator for unix. Or use php on IIS, there are a number of available extensions for iis.

This method is not maintain specific as it works for any web page.

I'm sure Tony can explain the ADO and the AJAX is standard stuff.


Alan.
WF 7.705/8.007
May 16, 2008, 05:24 AM
Tony A
Mark,

Forgot to mention that the code I sent you is VB direct from some of my ASP code, but then you probably guessed that anyway.

If you have some time at Summit I'll be happy to meet up and try and get it working? My maintain is very basic (if any), I'm stronger on the HTML and scripting.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
May 19, 2008, 08:55 AM
Maintain Wizard
Hey Guys
As I am working on a project for Gerry Cohen, my programers have created a JSP that may send the e-mail directly from Maintain. I will test and let you all know.

Mark
May 20, 2008, 10:08 AM
GamP
Mark,

I would be very very interested in this technique.
I currently have the same requirement for one of my customers, and I was intending to start looking for this within the near future.
And here I come stumbling upon it.
You think the technique is ready at summit time?
Would be nice to meet up and exchange the code.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988