API17:JMail::getInstance
From Joomla! Documentation
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.
JMail::getInstance
Description
Returns the global email object, only creating it if it doesn't already exist.
Description:JMail::getInstance [Edit Descripton]
public static function getInstance ($id= 'Joomla')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $id | 'Joomla' |
- Returns
- Defined on line 46 of libraries/joomla/mail/mail.php
See also
-
JMail::getInstance source code on BitBucket
-
Class JMail
-
Subpackage Mail
- Other versions of JMail::getInstance
SeeAlso:JMail::getInstance [Edit See Also]
User contributed notes
<CodeExamplesForm />
