JMail/1.6
From Joomla! Documentation
< JMail
JMail
Description
Description:JMail [Edit Descripton]
Methods
| 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
Importing
jimport( 'joomla.mail.mail' );
See also
JMail source code on JoomlaCode
Subpackage Mail- Other versions of JMail