AddBCC (Email subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%email</th>
<tr><th>email</th>
<td>A previously declared Email object.
<td>A previously declared Email object.
</td></tr>
</td></tr>
Line 20: Line 20:
<var>[[Mail (Email function)|Mail]]</var>.
<var>[[Mail (Email function)|Mail]]</var>.
</td></tr></table>
</td></tr></table>
 
==Usage notes==
==Usage notes==
<ul>
<ul>

Revision as of 21:35, 5 March 2012

Add a BCCd mail recipient (Email class)


Syntax

email:AddBCC( 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. For AddBcc, this parameter is superfluous, but it is provided for compatibility with AddRecipient and Mail.

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 AddBcc, AddCc, and AddRecipient methods.
  • Recipients added with the AddBcc method do not appear in either the "To:" or "Cc:" headers in the e-mail message.
  • The optional nickname parameter is provided only for compatibility with the AddRecipient and Mail methods. It is not sent as part of the e-mail message.
  • For an example that includes this method, see "Basic e-mail".

See also