Hi Charles, I had almost everything right. I was missing a cr between tCc and tBcc. Oops.
Everything is working great now! Thanks!!! Rick > On Mar 3, 2021, at 6:48 PM, Charles Warwick via use-livecode > <email@example.com> wrote: > > Hi Rick, > > What code did you try to add the Bcc e-mail recipients? > > The tRecipient variable to the tsNetSmtpSync command needs to be one e-mail > address per line of all the recipients for the e-mail (To, Cc and Bcc) and > that is what is used to determine who the e-mail is sent to. > > The rest of that script (in the lesson) is about how to format the e-mail > message, Bcc addresses don't get added to the header of the e-mail message. > > So assuming your Bcc's addresses are stored in a variable called tBcc (one > per line), then you need to simply adjust the script (from the lesson) as > follows: > > -- Make tRecipient a list of all recipients (To, Cc and Bcc) > put tTo & cr & tCc & cr & tBcc into tRecipient > > put tsNetSmtpSync(tUrl, tFrom, tRecipient, tEmailMessage, tResponseHeaders, > tBytes, tSettings) into tResult > > Regards, > > Charles _______________________________________________ use-livecode mailing list firstname.lastname@example.org Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode