From Joomla! Documentation

Revision as of 18:06, 27 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JMail


Description:JMail [Edit Descripton]


Visibility Method name Description
public __construct Constructor.
public addAttachment Add file attachments to the email.
public addBCC Add blind carbon copy recipients to the email.
public addCC Add carbon copy recipients to the email.
public addRecipient Add recipients to the email.
public addReplyTo Add Reply to email address(es) to the email.
public Send Send the mail.
public sendAdminMail Sends mail to administrator for approval of a user submission.
public sendMail Function to send an email.
public setBody Set the email body.
public setSender Set the email sender.
public setSubject Set the email subject.
public useSendmail Use sendmail for sending the email.
public useSMTP Use SMTP for sending the email.
public static getInstance Returns the global email object, only creating it if it doesn't already exist.
  • Defined in libraries/joomla/mail/mail.php


jimport( 'joomla.mail.mail' );

See also

SeeAlso:JMail [Edit See Also]

User contributed notes

<CodeExamplesForm />