API15:JMail/addCC
Contents |
Description
Add carbon copy recipients to the email
Syntax
addCC($cc)
| Parameter Name | Default Value | Description |
|---|---|---|
| $cc | $cc Either a string or array of strings [e-mail address(es)] |
Returns
void
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function addCC($cc) { //If the carbon copy recipient is an aray, add each recipient... otherwise just add the one if (isset ($cc)) { if (is_array($cc)) { foreach ($cc as $to) { $to = JMailHelper::cleanLine( $to ); parent::AddCC($to); } } else { $cc = JMailHelper::cleanLine( $cc ); parent::AddCC($cc); } } }
[Edit See Also] SeeAlso:JMail/addCC
Examples
<CodeExamplesForm />
May not always work
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
JMail()
Defined in
libraries/joomla/mail/mail.php
Importing
jimport( 'joomla.mail.mail' );
Source Body
function JMail() { // phpmailer has an issue using the relative path for it's language files $this->SetLanguage('joomla', JPATH_LIBRARIES.DS.'phpmailer'.DS.'language'.DS); }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
{{Expansion depth limit exceeded}}May not always work
addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.
Constructor
Invalid tag extension name: <span class="error">expansion depth limit exceeded</span>
<! removed transcluded page call, red link never existed >
<span class="error">Expansion depth limit exceeded Invalid tag extension name: <span class="error">expansion depth limit exceeded</span>
<span class="error">Expansion depth limit exceeded
libraries/joomla/mail/mail.php
<span class="error">Expansion depth limit exceeded
Invalid tag extension name: <span class="error">expansion depth limit exceeded</span>
<span class="error">Expansion depth limit exceeded Invalid tag extension name: <span class="error">expansion depth limit exceeded</span>
Invalid tag extension name: <span class="error">expansion depth limit exceeded</span> <! removed transcluded page call, red link never existed >
<span class="error">Expansion depth limit exceeded <CodeExamplesForm /> Invalid tag extension name: <span class="error">expansion depth limit exceeded</span>If you want to validate an e-mail address in your code and you will use JMAIL anyway, you can use the function from its parent class phpmailer. Invalid tag extension name: <span class="error">expansion depth limit exceeded</span> This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too. Invalid tag extension name: <span class="error">expansion depth limit exceeded</span>If you want to validate an e-mail address in your code and you will use JMAIL anyway, you can use the function from its parent class phpmailer.
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';
$mail =& JFactory::getMailer(); if (!$mail->ValidateAddress($mailaddress)) echo 'Invalid';
This is implicitly done for every JMAIL function that sets an address (such as addRecipient, addBCC, ..) and though there are other potential errors besides address validating, it most probably is something you want catch too.
$mail =& JFactory::getMailer(); if ($mail->addRecipient($mailaddress)->IsError()) echo 'Invalid';

addCC may not always work on 1.5 due to an error in the phpmailer class. to forum topic.