BCCAddr Property
Value of "BCC" header (blind-carbon-copy
recipients).
If composing the message, at least one of recipient specifiers (ToAddr,
CCAddr, BCCAddr) must be set. Otherwise, SMTP server will reject
the message. You can specify several email addresses, separating with commas
(",").
Set AddressDelimiter if you want to use another string (not a comma character) to delimit individual addresses.
This only makes sense for reading an existing message, not for composing a new one (when sending a message, recipients must be separated with comma).
If the message was created by MailBee.POP3, this header is empty, because
BCC does not appear in messages (the message is sent to BCC recipients, but
they are not displayed in message headers).
Value Type: | String | |
Parameters: | None |
Usage example:
Dim Mailer 'Using visual basic to create object Set Mailer = CreateObject("MailBee.SMTP") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.SMTP") 'In ASP use Response.Write instead of MsgBox Mailer.LicenseKey = "put your license key here" Mailer.ServerName = "mail.server.com" If Mailer.Connect Then Mailer.Message.ToAddr = "bill@yoursite.com" Mailer.Message.BCCAddr = "Jeff Jones<jeff@hissite.com>, Margo Witch<margo.witch@herssite.com>" Mailer.Message.FromAddr = "joe@mysite.com" Mailer.Message.Subject = "Hello" Mailer.Message.ImportBodyText "C:\docs\letter.htm", True Mailer.Send Mailer.Disconnect End If
See Also:
ToAddr
Property
CCAddr Property
FromAddr Property
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.