API16

Difference between revisions of "JMailHelper"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JMailHelper}} ===Defined in==...)
(No difference)

Revision as of 17:36, 22 March 2010

The "API16" 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.

[Edit Descripton] Template:Description:JMailHelper

Defined in[edit]

libraries/joomla/mail/helper.php

Methods[edit]

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.

Importing[edit]

jimport( 'joomla.mail.helper' );

[Edit See Also] Template:SeeAlso:JMailHelper

Examples[edit]

<CodeExamplesForm />