Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: Stephan F. on August 28, 2009, 01:54:13 pm



Title: outlook
Post by: Stephan F. on August 28, 2009, 01:54:13 pm
Hello,
 
I have an question regarding internet and outlook.
On point is to give the user the possibility to send an E-Mail after
he finished his work.
 
The E-Mail is still opening with the E-Mail address, but I don't know
how to put data from the application into this E-Mail, or an
attachment like pdf.
 
Thank you for your help.
 
Best regards
Stephan


Title: Re: outlook
Post by: . on August 28, 2009, 02:35:02 pm
If your front end is GDC, I would suggest to have a look at our winmail extension (see https://4js.com/techdocs/genero/gdc/devel/DocRoot/User/WinMail.html).

You can either send a mail using smtp server or create a mail to be sent in the default mailer.

Regards,
Pierre-Nicolas


Title: Re: outlook
Post by: Stephan F. on August 28, 2009, 02:43:24 pm
The front end is firefox or any browser.
I work with mailto and I want to put data from the genero program into the Mail.
Or create with the data an pdf and send it as an attechment.

Regards
Stephan


Title: Re: outlook
Post by: . on August 28, 2009, 02:45:27 pm
A more portable/standard way is to use launchUrl Frontcall using the mailto protocol (see http://www.ietf.org/rfc/rfc2368.txt). You would be able to set to, subject, cc, body and even attachment fields content with some limitations (see for example http://forums.devshed.com/beginner-programming-16/using-mailto-with-an-attachment-66699.html).

This would work with GDC and GWC but I did not test what part of the rfc2368 outlook do support ... If you will test this solution, please fill free to share with us your experience.

Regards,
Olivier.