AddCC (Email subroutine): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Syntax terms) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th> | <tr><th>email</th> | ||
<td> | <td>An <var>Email</var> object. | ||
</td></tr> | </td></tr> | ||
<tr><th>name</th> | <tr><th>name</th> | ||
<td>A string expression that contains an email address: | <td>A string expression that contains an email address: a userid, followed by an at sign (@), followed by a domain name. | ||
a userid, followed by an at sign (@), followed by a domain name. | |||
</td></tr> | </td></tr> | ||
<tr><th>nickname</th> | <tr><th>nickname</th> | ||
<td>An optional string expression that contains a familiar name associated | <td>An optional string expression that contains a familiar name associated with the e-mail address. | ||
with the e-mail address. | |||
</td></tr></table> | </td></tr></table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> | ||
Line 22: | Line 21: | ||
for a single mail message, though stricter limits may be imposed by some | for a single mail message, though stricter limits may be imposed by some | ||
mail servers. | mail servers. | ||
The recipient count is the sum of all e-mail addresses added with the AddCc, | The recipient count is the sum of all e-mail addresses added with the <var>AddCc</var>, | ||
AddBcc, and AddRecipient methods. | <var>AddBcc</var>, and <var>AddRecipient</var> methods. | ||
<li>Recipients added with the AddCc method appear in the | <li>Recipients added with the <var>AddCc</var> method appear in the "Cc:" header | ||
in the e-mail message. | in the e-mail message. | ||
<li>For an example that includes this method, see [[ | <li>For an example that includes this method, see [[Email class#Basic e-mail|"Basic e-mail"]]. | ||
</ul> | </ul> | ||
==See also== | ==See also== | ||
{{Template:Email:AddCC footer}} | {{Template:Email:AddCC footer}} |
Latest revision as of 20:19, 14 August 2012
Add a CCd mail recipient (Email class)
Syntax
email:AddCC( name, [nickname])
Syntax terms
An 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".