API17

JMailHelper: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JMailHelper/11.1 to API17:JMailHelper without leaving a redirect: Robot: Moved page
m User contributed notes: moving preparation
Line 60: Line 60:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JMailHelper]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:51, 11 May 2013

Joomla 11.1 JMailHelper

Description

Template: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

Template:SeeAlso:JMailHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />