# Mail Plugin - Reply To

**URL:** <https://forum.servoy.com/t/mail-plugin-reply-to/10355>\
**Category:** Classic Servoy\
**Created:** [March 5, 2009, 12:00am UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355 "2009-03-05T00:00:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![keenkenny](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@keenkenny](https://forum.servoy.com/u/keenkenny)\
**Post date:** [March 5, 2009, 12:00am UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/1 "2009-03-05T00:00:57Z")

</div>

Does anyone know a way to define a ‘reply to’ in an outgoing email using the Servoy Mail plug-in?

---

<div class="post-metadata">

**Author:** ![pcm](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@pcm](https://forum.servoy.com/u/pcm)\
**Post date:** [March 5, 2009, 5:48am UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/2 "2009-03-05T05:48:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [March 5, 2009, 11:18am UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/3 "2009-03-05T11:18:32Z")

</div>

Or you can buy the excellent MailPro plugin from Patrick: [Servoy-Plugins.de - MailPro plugin](http://www.servoy-plugins.de/mailpro.html)

---

<div class="post-metadata">

**Author:** ![keenkenny](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@keenkenny](https://forum.servoy.com/u/keenkenny)\
**Post date:** [March 5, 2009, 3:21pm UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/4 "2009-03-05T15:21:06Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [March 5, 2009, 3:27pm UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/5 "2009-03-05T15:27:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [March 5, 2009, 3:28pm UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/6 "2009-03-05T15:28:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![keenkenny](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@keenkenny](https://forum.servoy.com/u/keenkenny)\
**Post date:** [March 5, 2009, 4:00pm UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/7 "2009-03-05T16:00:57Z")

</div>

Thanks Nicola, this info is a big help!

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [November 1, 2011, 8:39pm UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/8 "2011-11-01T20:39:45Z")

</div>

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??

```auto
plugins.mail.sendMail('to@customer.nl', 'from@myemailserver.nl'['myreply@mydomain.nl'], 'mysubject' 'mytext', bla bla ??

```

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 4, 2011, 9:48am UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/9 "2011-11-04T09:48:45Z")

</div>

```auto
plugins.mail.sendMail('to@customer.nl', 'from@myemailserver.nl,myreply@mydomain.nl', 'mysubject' 'mytext', bla bla ??

```

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [November 4, 2011, 9:54am UTC](https://forum.servoy.com/t/mail-plugin-reply-to/10355/10 "2011-11-04T09:54:41Z")

</div>

ah… ![:oops:]( "Embarassed")

thanks Johan!
