AddRecipient (Email subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 1: Line 1:
{{Template:Email:AddRecipient subtitle}}
{{Template:Email:AddRecipient subtitle}}


This method lets you add an SMTP mail recipient
to the SMTP request that is sent to the server.
==Syntax==
==Syntax==
{{Template:Email:AddRecipient syntax}}
{{Template:Email:AddRecipient syntax}}

Revision as of 19:38, 6 July 2011

Add a mail recipient (Email class)


Syntax

email:AddRecipient( name, [nickname])

Syntax terms

%email A previously declared Email object.
name A string expression that contains an email address:

a userid, followed by an at sign (@), followed by a domain name.

nickname An optional string expression that contains a familiar name associated

with the e-mail address.

Usage notes

  • Mail servers should be able to accept as many as 100 or more distinct recipients for a single mail message, though stricter limits may be imposed by some mail servers. The recipient count is the sum of all e-mail addresses added with the AddRecipient, AddCc, and AddBcc methods.
  • Recipients added with the AddRecipient method appear in the “To:” header in the e-mail.

See also