JMail
E-Mail Class. Provides a common interface to send e-mail from the Joomla! Framework
Located in /joomla/utilities/mail.php (line 28)
PHPMailer (Package PHPMailer) JMail (Subpackage Utilities)
Inherited Variables
Inherited from PHPMailer
PHPMailer::$AltBody
PHPMailer::$Body
PHPMailer::$CharSet
PHPMailer::$ConfirmReadingTo
PHPMailer::$ContentType
PHPMailer::$Encoding
PHPMailer::$ErrorInfo
PHPMailer::$From
PHPMailer::$FromName
PHPMailer::$Helo
PHPMailer::$Host
PHPMailer::$Hostname
PHPMailer::$Mailer
PHPMailer::$Password
PHPMailer::$PluginDir
PHPMailer::$Port
PHPMailer::$Priority
PHPMailer::$Sender
PHPMailer::$Sendmail
PHPMailer::$SMTPAuth
PHPMailer::$SMTPDebug
PHPMailer::$SMTPKeepAlive
PHPMailer::$Subject
PHPMailer::$Timeout
PHPMailer::$Username
PHPMailer::$Version
PHPMailer::$WordWrap
Add file attachments to the email
- mixed $attachment: Either a string or array of strings [filenames]
Add blind carbon copy recipients to the email
- mixed $cc: Either a string or array of strings [e-mail address(es)]
- $bcc
Add carbon copy recipients to the email
- mixed $cc: Either a string or array of strings [e-mail address(es)]
Add recipients to the email
- mixed $recipient: Either a string or array of strings [e-mail address(es)]
Add Reply to e-mail address(es) to the e-mail
-
array
$reply: Either an array or multi-array of form
array( [0] => E-Mail Address [1] => Name )
- $replyto
Returns a reference to a global e-mail object, only creating it if it doesn't already exist.
This method must be invoked as:
$mail =& JMail::getInstance();
NOTE: If you need an instance to use that does not have the global configuration values, use an id string that is not 'Joomla'.
- string $id: The id string for the JMail instance [optional]
- PHPMailer::Send()
- Creates message and assigns Mailer. If the message is not sent successfully then it returns false. Use the ErrorInfo variable to view description of the error.
Set the E-Mail body
- string $content: Body of the e-mail
Set the E-Mail sender
-
array
$from: E-Mail address and Name of sender
array( [0] => E-Mail Address [1] => Name )
Set the E-Mail subject
- string $subject: Subject of the e-mail
Use sendmail for sending the e-mail
- string $sendmail: Path to sendmail [optional]
Use SMTP for sending the e-mail
- string $auth: SMTP Authentication [optional]
- string $host: SMTP Host [optional]
- string $user: SMTP Username [optional]
- string $pass: SMTP Password [optional]
Inherited Methods
Inherited From PHPMailer
PHPMailer::AddAddress()
PHPMailer::AddAttachment()
PHPMailer::AddBCC()
PHPMailer::AddCC()
PHPMailer::AddCustomHeader()
PHPMailer::AddEmbeddedImage()
PHPMailer::AddReplyTo()
PHPMailer::AddStringAttachment()
PHPMailer::ClearAddresses()
PHPMailer::ClearAllRecipients()
PHPMailer::ClearAttachments()
PHPMailer::ClearBCCs()
PHPMailer::ClearCCs()
PHPMailer::ClearCustomHeaders()
PHPMailer::ClearReplyTos()
PHPMailer::IsError()
PHPMailer::IsHTML()
PHPMailer::IsMail()
PHPMailer::IsQmail()
PHPMailer::IsSendmail()
PHPMailer::IsSMTP()
PHPMailer::Send()
PHPMailer::SetLanguage()
PHPMailer::SmtpClose()
Documentation generated on Mon, 05 Mar 2007 21:10:05 +0000 by phpDocumentor 1.3.1