From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JMail[edit]



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[edit]

User contributed notes[edit]

Code Examples[edit]