JMailHelper
E-Mail helper class, provides static methods to perform various tasks relevant to the Joomla e-mail routines.
TODO: Test these methods as the regex work is first run and not tested thoroughly
Located in /joomla/mail/helper.php (line 29)
JMailHelper (Subpackage Mail)
Verifies that an e-mail address does not have any extra headers injected into it.
- string $address: E-Mail address.
Cleans any injected headers from the E-Mail body.
- string $body: E-Mail body string.
Cleans single line inputs.
- string $value: String to be cleaned.
Cleans any injected headers from the subject string.
- string $subject: E-Mail subject string.
Cleans multi-line inputs.
- string $value: Multi-line string to be cleaned.
Verifies that the string is in a proper e-mail address format.
- string $email: String to be verified.




JMailHelper (Subpackage Mail)
static