Rick, let's say
pTO contains one or more email recipients, each in one line pCC contains one or mor cc recipients, each in one line pBCC contains one or more bcc recipients, each in one line tData contains the mime encoded message which includes all To and all CC recipients then you would do repeat for each line tLine in pTO put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, tSettings) end repeat repeat for each line tLine in pCC put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, tSettings) end repeat repeat for each line tLine in pBCC put tsNetSmtpSync(tServer, tFrom, tLine, tData, rOutHeaders, rBytes, tSettings) end repeat The last repeat sends to the BCC recipients. - Matthias Rebbe Life Is Too Short For Boring Code > Am 03.03.2021 um 23:19 schrieb Rick Harrison via use-livecode > <use-livecode@lists.runrev.com>: > > Ok, everything is fine on the format front now. > > I noticed the code takes about a minute to execute all the way through. > (Must be a lot of background process have to run?) > > I tried Charles Warwick’s suggestion for Bcc, and it didn’t work. :-( > If any of you want to take a crack at it, please let me know your results. > > Thanks to everyone! > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode