API17

API17:JMailHelper::cleanSubject

From Joomla! Documentation

Joomla 11.1 JMailHelper::cleanSubject

Description

Cleans any injected headers from the subject string.


public static function cleanSubject ($subject)
Parameter Type Default Description
$subject string email subject string.
  • Returns string Cleaned email subject string.
  • Defined on line 72 of libraries/joomla/mail/helper.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples