API17

JMailHelper::cleanBody: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
m preparing for archive only
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
Cleans any injected headers from the email body.  
Cleans any injected headers from the email body.  


{{Description:JMailHelper::cleanBody}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JMailHelper::cleanBody|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public static function cleanBody ($body)
public static function cleanBody ($body)
Line 29: Line 27:
===See also===
===See also===
* {{JVer|11.1}} '''JMailHelper::cleanBody source code''' on [[jplatform:mail/helper.php#cl-50|BitBucket]]
* {{JVer|11.1}} '''JMailHelper::cleanBody source code''' on [[jplatform:mail/helper.php#cl-50|BitBucket]]
* {{JVer|11.1}} Class [[JMailHelper/11.1|JMailHelper]]
* {{JVer|11.1}} Class [[API17:JMailHelper|JMailHelper]]
* {{JVer|11.1}} Subpackage [[Subpackage_Mail/11.1|Mail]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Mail|Mail]]
* [[JMailHelper::cleanBody|Other versions of JMailHelper::cleanBody]]
* [[API17:JMailHelper::cleanBody|Other versions of JMailHelper::cleanBody]]
{{SeeAlso:JMailHelper::cleanBody}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JMailHelper::cleanBody|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JMailHelper::cleanBody
category=JMailHelper::cleanBody
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
Line 47: Line 43:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JMailHelper]][[Category:JMailHelper::cleanBody]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 03:25, 25 March 2017

Joomla 11.1 JMailHelper::cleanBody

Description

Cleans any injected headers from the email body.


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


User contributed notes

Code Examples