Product Logo

SMTPit Pro

A Feature-rich Email plug-in

Functions

SMTPit_SetBCC

NameSMTPit_SetBCC
Description

Use the SMTPit_SetBCC function to assign the “BCC” (Blind Carbon Copy) email address(es). Any email addresses you have in the BCC list will have the email sent to them, but their email will not show up in the actual email. If you have multiple email addresses and you want to set them all at once, separate each email address with a paragraph mark or, if in a field, with a return. SMTPit will validate the email addresses you give it to see if they “look” like email addresses. If SMTPit cannot find a valid email address, it will return an error. For examples of what SMTPit considers to be a “valid” email address, see the SMTPit_SetTo function.

Return TypeText
FormatSMTPit_SetBCC ( BCC(s) ; SMTPit_Append )
Required Parameters
BCC(s)

The BCC Email Addresses for the email.

Optional Parameters
SMTPit_Append

Leave this in to add the(se) Email Address(es) to the current list of Addresses.

Examples
Example 1

Adds the email "Doe, John" <john@somewhere.com> to the BCC field.

SMTPit_SetBCC( "\"Doe, John\" <john@somewhere.com>" )
Example 2

Adds the email addresses "smtpit@nowhere.com" and "info@nowhere.com" to the BCC field.

SMTPit_SetBCC( "smtpit@nowhere.com¶info@nowhere.com" )
Example 3

Appends the email address "smtpit@nowhere.com" to the current list of BCCs.

SMTPit_SetBCC( "smtpit@nowhere.com" ; SMTPit_Append )