JMailHelper::cleanBody: Difference between revisions
From Joomla! Documentation
m →See also: moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Cleans any injected headers from the email body. | Cleans any injected headers from the email body. | ||
{{Description:JMailHelper::cleanBody}} | {{subst:Description:JMailHelper::cleanBody}} | ||
<source lang="php"> | <source lang="php"> | ||
public static function cleanBody ($body) | public static function cleanBody ($body) | ||
| Line 32: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Mail|Mail]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Mail|Mail]] | ||
* [[API17:JMailHelper::cleanBody|Other versions of JMailHelper::cleanBody]] | * [[API17:JMailHelper::cleanBody|Other versions of JMailHelper::cleanBody]] | ||
{{SeeAlso:JMailHelper::cleanBody}} | {{subst:SeeAlso:JMailHelper::cleanBody}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:51, 24 March 2017
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

See also
JMailHelper::cleanBody source code on BitBucket
Class JMailHelper
Subpackage Mail- Other versions of JMailHelper::cleanBody
{{subst:SeeAlso:JMailHelper::cleanBody}}
User contributed notes
<CodeExamplesForm />