EmailMessage.AddRecipient

From Real Software Documentation

Jump to: navigation, search
Method
EmailMessage.AddRecipient ( Recipient as String )

Adds a recipient to the email.

Example

// add recipients
s = replaceAll(toAddressFld.text,",",chr(13))
s = replaceAll(s,chr(13)+chr(10),chr(13))
for i = 1 to countFields(s,chr(13))
mail.addRecipient trim(nthField(s,chr(13),i))
next
Personal tools