API17

Difference between revisions of "JMailHelper"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/mail/helper.php
 
libraries/joomla/mail/helper.php
 +
* see source code in [[jplatform:mail/helper.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Mail/11.1|Mail]]
 
[[Subpackage Mail/11.1|Mail]]
Line 38: Line 39:
 
<source lang="php">jimport( 'joomla.mail.helper' );</source>
 
<source lang="php">jimport( 'joomla.mail.helper' );</source>
 
===See also===
 
===See also===
 +
* JMailHelper source code in [[jplatform:mail/helper.php|BitBucket]]
 
* [[JMailHelper|Other versions of this class]]
 
* [[JMailHelper|Other versions of this class]]
 
{{SeeAlso:JMailHelper}}
 
{{SeeAlso:JMailHelper}}

Revision as of 17:59, 23 April 2011

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.

[Edit Descripton] Template:Description:JMailHelper

Defined in[edit]

libraries/joomla/mail/helper.php

Subpackage[edit]

Mail

Extends[edit]

Extended by[edit]

Methods[edit]

Method name Description
cleanAddress Verifies that an email address does not have any extra headers injected into it.
cleanBody Cleans any injected headers from the email body.
cleanLine Cleans single line inputs.
cleanSubject Cleans any injected headers from the subject string.
cleanText Cleans multi-line inputs.
isEmailAddress Verifies that the string is in a proper email address format.

Importing[edit]

jimport( 'joomla.mail.helper' );

See also[edit]

Template:SeeAlso:JMailHelper [Edit See Also]

Examples[edit]

<CodeExamplesForm />