API17

API17:JMailHelper::cleanBody

From Joomla! Documentation

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

Joomla 11.1 JMailHelper::cleanBody

Description

Cleans any injected headers from the email body.

{{subst:Description:JMailHelper::cleanBody}}

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

See also

{{subst:SeeAlso:JMailHelper::cleanBody}}

User contributed notes

<CodeExamplesForm />