Actions

API17

Difference between revisions of "JMailHelper"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
 
(3 intermediate revisions by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public static  
 
|public static  
|[[JMailHelper::cleanAddress/11.1|cleanAddress]]
+
|[[API17:JMailHelper::cleanAddress|cleanAddress]]
 
|Verifies that an email address does not have any extra headers injected into it.  
 
|Verifies that an email address does not have any extra headers injected into it.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JMailHelper::cleanBody/11.1|cleanBody]]
+
|[[API17:JMailHelper::cleanBody|cleanBody]]
 
|Cleans any injected headers from the email body.  
 
|Cleans any injected headers from the email body.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JMailHelper::cleanLine/11.1|cleanLine]]
+
|[[API17:JMailHelper::cleanLine|cleanLine]]
 
|Cleans single line inputs.  
 
|Cleans single line inputs.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JMailHelper::cleanSubject/11.1|cleanSubject]]
+
|[[API17:JMailHelper::cleanSubject|cleanSubject]]
 
|Cleans any injected headers from the subject string.  
 
|Cleans any injected headers from the subject string.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JMailHelper::cleanText/11.1|cleanText]]
+
|[[API17:JMailHelper::cleanText|cleanText]]
 
|Cleans multi-line inputs.  
 
|Cleans multi-line inputs.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JMailHelper::isEmailAddress/11.1|isEmailAddress]]
+
|[[API17:JMailHelper::isEmailAddress|isEmailAddress]]
 
|Verifies that the string is in a proper email address format.  
 
|Verifies that the string is in a proper email address format.  
 
|-
 
|-
Line 43: Line 43:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JMailHelper source code''' on [[jplatform:mail/helper.php|BitBucket]]
 
* {{JVer|11.1}} '''JMailHelper source code''' on [[jplatform:mail/helper.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Mail/11.1|Mail]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Mail|Mail]]
* [[JMailHelper|Other versions of JMailHelper]]
+
* [[API17:JMailHelper|Other versions of JMailHelper]]
 
{{SeeAlso:JMailHelper}}
 
{{SeeAlso:JMailHelper}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 60: Line 60:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JMailHelper]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:11, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JMailHelper

Description

Description:JMailHelper [Edit Descripton]

Methods

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

jimport( 'joomla.mail.helper' );

See also

  • Joomla 11.1 JMailHelper source code on BitBucket
  • Joomla 11.1 Subpackage Mail
  • Other versions of JMailHelper

SeeAlso:JMailHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />