tsNet mail message not formatting
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Wed Mar 3 17:28:59 EST 2021
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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list