API17

API17:JMailHelper

From Joomla! Documentation

Revision as of 15:51, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JMailHelper

Description

{{subst:Description:JMailHelper}}

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

{{subst:SeeAlso:JMailHelper}}

User contributed notes

<CodeExamplesForm />