PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Saving an email in a .msg file after sending it with EmailSendMessage ?
Saving an email in a .msg file after sending it with EmailSendMessage ?
Iniciado por software, 09,ago. 2016 11:01 - 3 respuestas
Miembro registrado
27 mensajes
Publicado el 09,agosto 2016 - 11:01
Hi,

I sent a message with EmailSendMessage and use the EmailStartSMTPSession and everything works fine !

Now i would like to save this email in a .msg file and collect this in a folder on my server.

How can i save the sended email in a .msg file ?

Kind regards,

Eric
Miembro registrado
102 mensajes
Publicado el 10,agosto 2016 - 14:55
Eric,

I really don't know how to do this with WinDev. If you don't want to develop your own function for this requirement, why not using a powerfull external solution?

For example:

https://www.chilkatsoft.com/email-features.asp

Example in Python:

https://www.example-code.com/python/emailObject_createComplex.asp

HTH
Sebastian

--
http://arnoldconsult.de
WinDev 21 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Publicado el 10,agosto 2016 - 17:00
Hi Eric,

dos it NEED to be .msg? I'm asking because it's very easy to do for the
..eml format (just use the ..source part of the email structure)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 8/9/2016 à 3:01 AM, Eric STRYBOS a écrit :
Hi,

I sent a message with EmailSendMessage and use the EmailStartSMTPSession
and everything works fine !

Now i would like to save this email in a .msg file and collect this in a
folder on my server.

How can i save the sended email in a .msg file ?
Kind regards,

Eric
Miembro registrado
27 mensajes
Publicado el 10,agosto 2016 - 17:29
HI Fabrice,

Thanks for your anwer. It is working fine with Email..Source :)

Kind Regards,

Eric