Does anyone know a way to define a ‘reply to’ in an outgoing email using the Servoy Mail plug-in?
Hi ken,
As much as i know about mail plugin there is no reply-to option. When your replying for mail it means your sending other mail it means sendMail funtion will help. Other stuffs related to reply-to, you need write some code for it.
I mean to say. 1. You need to copy all the containt of mail(which you want to reply)and add into new one like (address,subject and etc…)
This may help you.
Thanks
Prem
Or you can buy the excellent MailPro plugin from Patrick: Servoy-Plugins.de - MailPro plugin
Nicola,
Quick question about the MailPro plugin. Is that a server plugin, where outgoing email would be sent from the Servoy server? Or are the messages actually sent from the Client computer?
Mail is sent from an external SMTP server and can be received from both IMAP or POP mail servers, check the plugin page, all the useful infos are there.
And BTW: you can estabilish 1 connection to the SMTP and send several msgs at once so it’s really faster than the default mail plugin that opens and closes the smtp connection for every outgoing message.
Thanks Nicola, this info is a big help!
Hi, I came a cross the same,
I want to set the from & replyTo to different emailaddresses.
I see in 5.2.10 now that you can set the reply: plugins.mail.sendMail( to[,to2,toN], from[,reply], subject, msgText, bla bla
but what is the correct notation??
plugins.mail.sendMail('to@customer.nl', 'from@myemailserver.nl'['myreply@mydomain.nl'], 'mysubject' 'mytext', bla bla ??
plugins.mail.sendMail('to@customer.nl', 'from@myemailserver.nl,myreply@mydomain.nl', 'mysubject' 'mytext', bla bla ??
ah…
thanks Johan!