API17:JMailHelper
From Joomla! Documentation
(Difference between revisions)
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
| Line 60: | Line 60: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JMailHelper]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JMailHelper]]</noinclude> |
Revision as of 13:57, 29 August 2012
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.
JMailHelper
Description
Description:JMailHelper [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | cleanAddress | Verifies that an email address does not have any extra headers injected into it. |
| public static | cleanBody | Cleans any injected headers from the email body. |
| public static | cleanLine | Cleans single line inputs. |
| public static | cleanSubject | Cleans any injected headers from the subject string. |
| public static | cleanText | Cleans multi-line inputs. |
| public static | isEmailAddress | Verifies that the string is in a proper email address format. |
- Defined in libraries/joomla/mail/helper.php
Importing
jimport( 'joomla.mail.helper' );
See also
-
JMailHelper source code on BitBucket
-
Subpackage Mail
- Other versions of JMailHelper
SeeAlso:JMailHelper [Edit See Also]
User contributed notes
<CodeExamplesForm />
