<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>31 Mar 2017 11:13:26 Z</lastBuildDate><pubDate>30 Mar 2017 10:35:45 Z</pubDate><description>From a table I send block of emails to individual mail addresses. This works fine as long as I am sending to a single email address.&#13;
&#13;
I can send to two addresses at the same time using SMTP by placing a semi-colon between the two on a single line e.g. &#13;
&#13;
fred@one.com;jack@one.com. &#13;
&#13;
However, this does not work if you are using Outlook and is rejected by it. &#13;
&#13;
My solution was :-&#13;
&#13;
Mymessage.Recipient[1] = "fred@one.com"&#13;
Mymessage.Recipient[2] = "jack@one.com"&#13;
&#13;
This appeared to work but if I sent the next email to just one recipient then it also sent it to the second recipient of the previous email. So if I sent the next one to john@two.com it also sent the same email to jack@one.com&#13;
&#13;
If the next email after that is also going to a single recipient then it also sends a copy to jack@one.com.&#13;
&#13;
All puzzling since I send as totally individual emails and start each one with a new session using EmailStartOutlookSession and end them with EmailCloseSession. I even added EmailReset() after to clear all information before the next email.&#13;
&#13;
When it creates an email to a single recipient it just runs Mymessage.Recipient[1] and when there are two then it sends to both recipients.&#13;
&#13;
I desperation I tried adding Mymessage.Recipient[2] = "" but they then fail.&#13;
&#13;
I have also tried Mymessage.CC[1] but that gives the same result of sending to an additional address..&#13;
&#13;
My current solution is to pull out the addresses and send individual emails to each thus avoiding the use of Recipient[2]. This does work but it seems like a heavy solution when compared to using a semi-colon with SMTP.&#13;
&#13;
Any ideas?&#13;
&#13;
Norman</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook/read.awp</link><title>Multiple recipients - Outlook</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>norman</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook-60696/read.awp</comments><pubDate>31 Mar 2017 11:13:26 Z</pubDate><description>Thanks for suggestion. I only have one customer using Outlook and that is because their ISP gave them an Exchange Server account…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook-60696/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook-60696/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook/read.awp">Multiple recipients - Outlook</source><title>Re: Multiple recipients - Outlook</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook-60694/read.awp</comments><pubDate>30 Mar 2017 15:25:53 Z</pubDate><description>Hi Norman,&#13;
&#13;
This solution is the right one&#13;
&gt; Mymessage.Recipient[1] = "fred@one.com"&#13;
&gt; Mymessage.Recipient[2] = "jack@one.co…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook-60694/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook-60694/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60690-multiple-recipients-outlook/read.awp">Multiple recipients - Outlook</source><title>Re: Multiple recipients - Outlook</title></item></channel></rss>
