API16

API16:JMailHelper

From Joomla! Documentation

Defined in

libraries/joomla/mail/helper.php

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.

Importing

jimport( 'joomla.mail.helper' );



Examples

Code Examples