API17

Difference between revisions of "JMail"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (→‎User contributed notes: bad link repair)
Line 96: Line 96:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JMail]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JMail]]</noinclude>

Revision as of 13:57, 29 August 2012

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]

Description[edit]

Template:Description:JMail [Edit Descripton]

Methods[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

Importing[edit]

jimport( 'joomla.mail.mail' );

See also[edit]

Template:SeeAlso:JMail [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />