API17

Difference between revisions of "JMailHelper"

From Joomla! Documentation

m (clean up)
m (preparing for archive only)
 
Line 2: Line 2:
 
=={{JVer|11.1}} JMailHelper==
 
=={{JVer|11.1}} JMailHelper==
 
===Description===
 
===Description===
{{subst:Description:JMailHelper}}
+
 
  
 
===Methods===
 
===Methods===
Line 43: Line 43:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage Mail|Mail]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage Mail|Mail]]
 
* [[API17:JMailHelper|Other versions of JMailHelper]]
 
* [[API17:JMailHelper|Other versions of JMailHelper]]
{{subst:SeeAlso:JMailHelper}}
+
 
  
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JMailHelper
 
category=JMailHelper
category=CodeExample
+
namespace=CodeExample
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*

Latest revision as of 22:25, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JMailHelper[edit]

Description[edit]

Methods[edit]

Visibility Method name Description
public static cleanAddress Verifies that an email address does not have any extra headers injected into it.
public static cleanBody Cleans any injected headers from the email body.
public static cleanLine Cleans single line inputs.
public static cleanSubject Cleans any injected headers from the subject string.
public static cleanText Cleans multi-line inputs.
public static isEmailAddress Verifies that the string is in a proper email address format.
  • Defined in libraries/joomla/mail/helper.php

Importing[edit]

jimport( 'joomla.mail.helper' );

See also[edit]


User contributed notes[edit]

Code Examples[edit]