API17

API17:JMailHelper::cleanAddress

From Joomla! Documentation

Joomla 11.1 JMailHelper::cleanAddress

Description

Verifies that an email address does not have any extra headers injected into it.


public static function cleanAddress ($address)
Parameter Type Default Description
$address string email address.
  • Returns string|false email address string or boolean false if injected headers are present.
  • Defined on line 85 of libraries/joomla/mail/helper.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples