API15:JMailHelper
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JMailHelper}}
===Defined in==...) |
|||
| Line 30: | Line 30: | ||
|Verifies that the string is in a proper e-mail address format. | |Verifies that the string is in a proper e-mail address format. | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.mail.helper' );</source> | <source lang="php">jimport( 'joomla.mail.helper' );</source> | ||
Latest revision as of 12:26, 25 March 2010
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.
[Edit Descripton] Description:JMailHelper
Contents |
[edit] Defined in
libraries/joomla/mail/helper.php
[edit] Methods
| Method name | Description |
|---|---|
| cleanLine | Cleans single line inputs. |
| cleanText | Cleans multi-line inputs. |
| cleanBody | Cleans any injected headers from the E-Mail body. |
| cleanSubject | Cleans any injected headers from the subject string. |
| cleanAddress | Verifies that an e-mail address does not have any extra headers injected into it. |
| isEmailAddress | Verifies that the string is in a proper e-mail address format. |
[edit] Importing
jimport( 'joomla.mail.helper' );
[Edit See Also] SeeAlso:JMailHelper
[edit] Examples
<CodeExamplesForm />
