AddCC (Email subroutine): Difference between revisions
Jump to navigation
Jump to search
m (Created page with "This callable method lets you add an SMTP mail recipient to the SMTP request that is sent to the server. ==AddCc syntax== <p class="pre"> %email:AddCc(name, [nickname]) </p> ==...") |
m (Created page with "This callable method lets you add an SMTP mail recipient to the SMTP request that is sent to the server. ==AddCc syntax== <p class="pre"> %email:AddCc(name, [nickname]) </p> ==...") |
||
Line 1: | Line 1: | ||
{{Template:Email:AddCC subtitle}} | |||
This callable method lets you add an SMTP mail recipient | This callable method lets you add an SMTP mail recipient | ||
to the SMTP request that is sent to the server. | to the SMTP request that is sent to the server. | ||
== | ==Syntax== | ||
{{Template:Email:AddCC syntax}} | |||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
Line 19: | Line 19: | ||
</td></tr></table> | </td></tr></table> | ||
==Usage | ==Usage notes== | ||
<ul> | <ul> | ||
<li>Mail servers should be able to accept up to at least 100 distinct recipients | <li>Mail servers should be able to accept up to at least 100 distinct recipients | ||
Line 26: | Line 26: | ||
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 AddCc, | ||
AddBcc, and AddRecipient methods. | AddBcc, and AddRecipient methods. | ||
<li>Recipients added with the AddCc method appear in the “Cc:” header | <li>Recipients added with the AddCc method appear in the &ldquo;Cc:&rdquo; header | ||
in the e-mail message. | in the e-mail message. | ||
<li>For an example that includes this method, see [[SMTP Helper#Basic e-mail|"Basic e-mail"]]. | <li>For an example that includes this method, see [[SMTP Helper#Basic e-mail|"Basic e-mail"]]. | ||
</ul> | </ul> | ||
==See also== | |||
{{Template:Email:AddCC footer}} |
Revision as of 21:41, 5 July 2011
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
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".