JMail/1.5
From Joomla! Documentation
< JMail(Difference between revisions)
(Layout updates) |
m (Edit api.joomla.org link) |
||
| Line 70: | Line 70: | ||
<source lang="php">jimport( 'joomla.mail.mail' );</source> | <source lang="php">jimport( 'joomla.mail.mail' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JMail''' on [http://api.joomla.org/Joomla-Framework/Mail/JMail.html api.joomla.org] | + | * {{JVer|1.5}} '''JMail''' on [http://api.joomla.org/1.5/Joomla-Framework/Mail/JMail.html api.joomla.org] |
* {{JVer|1.5}} '''JMail source code''' on [[jframework15:mail/mail.php|JoomlaCode]] | * {{JVer|1.5}} '''JMail source code''' on [[jframework15:mail/mail.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage Mail/1.5|Mail]] | * {{JVer|1.5}} Subpackage [[Subpackage Mail/1.5|Mail]] | ||
| Line 78: | Line 78: | ||
<nowiki>[</nowiki>[[SeeAlso:JMail|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JMail|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| + | |||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Latest revision as of 11:22, 13 February 2013
[edit]
JMail
[edit] Description
Description:JMail [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| 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 e-mail address(es) to the e-mail. |
| public | JMail | Constructor. |
| public | Send | |
| public | setBody | Set the E-Mail body. |
| public | setSender | Set the E-Mail sender. |
| public | setSubject | Set the E-Mail subject. |
| public | useSendmail | Use sendmail for sending the e-mail. |
| public | useSMTP | Use SMTP for sending the e-mail. |
| public | getInstance | Returns a reference to a global e-mail object, only creating it if it doesn't already exist. |
- Defined in libraries/joomla/mail/mail.php
[edit] Importing
jimport( 'joomla.mail.mail' );
[edit] See also
-
JMail on api.joomla.org
-
JMail source code on JoomlaCode
-
Subpackage Mail
- Other versions of JMail
[edit] User contributed notes
<CodeExamplesForm />