AXSoft SMTPSock - RecipientsCC

Description

Returns/sets recipients email addresses who will recieve a "Carbon Copy" of the email. Delimited by semi-colon ";".

 
Type

Property

 
Syntax

object.Recipients [ = String ]

Parameter Type Description
  String List of recipients email addresses. (Limit: 100 including Recipients).

 
Return Type

String

 
Remarks

The server responds to each recipient, with whether the email address of the recipient was valid or not. If an invalid recipient is specified, then the InvalidRecipient event is fired. If no recipients are specified then a runtime error occurs. For a list or possible runtime errors, check the ErrorConstants list.

The recipients are delimited by a semi-colon ";". If the total number of recipients (Recipients and RecipientsCC) are greater than 100 specified, then only the first 100 email addresses will recieve the email. The ignored list will first occur with RecipientCC, where the last recipients in the RecipientsCC property will be removed until the total number of recipients equal 100. If the Recipients itself contains more than 100 email addreeses, than only the first 100 will recieve the email while the remaining, including the email addresses in RecipientsCC will not recieve the email.

Example of use:
strRecipientsCC = "friend1@domain1.com;friend2@domain2.com"
axsSMTPSock1.RecipientsCC = strRecipientsCC

See Also: SendMail, InvalidRecipient, ErrorConstants, Recipients