SMTPit Pro

Next Generation Email plug-in

<- Back to SMTPit Pro function list

SMTPit_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 Type
Text
Format
SMTPit_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.

Related Items
SMTPit_SetCC, SMTPit_SetFrom, SMTPit_SetReplyTo, SMTPit_SetTo
Examples

Example 1

Code:

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

Result:

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

Example 2

Code:

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

Result:

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

Example 3

Code:

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

Result:

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