AddCC (Email subroutine)

From m204wiki
Revision as of 21:41, 5 July 2011 by JALWiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

Add a CCd mail recipient (Email class)


This callable method lets you add an SMTP mail recipient to the SMTP request that is sent to the server.

Syntax

email:AddCC( 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 up to at least 100 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 AddCc, AddBcc, and AddRecipient methods.
  • Recipients added with the AddCc method appear in the “Cc:” header in the e-mail message.
  • For an example that includes this method, see "Basic e-mail".

See also