AXSoft SMTPSock - Recipients

Description

Returns/sets recipients email addresses. Delimited by semi-colon ";".

Type

Property

Syntax

object.Recipients [ = String ]

Parameter Type Description
  String List of recipients email addresses.

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 ";".
Version 2.0+: You may specify an unlimited number of emails.

Example of use:
strRecipients = "friend1@domain1.com;friend2@domain2.com"
axsSMTPMessage1.Recipients = strRecipients

See Also: SendMail, InvalidRecipient, ErrorConstants, RecipientsCC, RecipientsBCC