BCC using SMTPSendMAil (sorry for the duplicate posting!)

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
zeke
Newbie
Posts: 11
Joined: Thu Dec 08, 2005 7:23 pm

BCC using SMTPSendMAil (sorry for the duplicate posting!)

Post by zeke » Thu Apr 20, 2006 9:25 pm

I think I know the answer to this.

Can you bcc (blind carbon copy) multiple users using the SMTPSendMail command?

I want my staff to only receive an email addressed to "them" in the bcc field - not a list of all receipients in the To: field.

I think this is on the "wish list' for the next update!

John Falloon

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Thu Apr 20, 2006 9:50 pm

I've never used bcc's but the Help text for SMTPSendMail does include the option:

" To include CC or BCC email addresses set the SMTP_CCLIST and SMTP_BCCLIST variables. Separate multiple email address with semicolons."

and from System Variables

"SMTP_BCCLIST Set BCC recipients for SMTPSendMail"


I'll try to test it in a while.

Update: Works as described. Address the email to your own email or even a bogus account "[email protected]", and define the bcc's

Let>SMTP_BCCLIST=[email protected];[email protected];etc

As is usual with bcc emails the only email shown in the header is the To:

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts