Difference between revisions of "JMailHelper::cleanAddress"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public static function cleanAddress ($address) | public static function cleanAddress ($address) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JMailHelper::cleanAddress source code''' on [[jplatform:mail/helper.php#cl-77|BitBucket]] | * {{JVer|11.1}} '''JMailHelper::cleanAddress source code''' on [[jplatform:mail/helper.php#cl-77|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JMailHelper | + | * {{JVer|11.1}} Class [[API17:JMailHelper|JMailHelper]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Mail | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Mail|Mail]] |
− | * [[JMailHelper::cleanAddress|Other versions of JMailHelper::cleanAddress]] | + | * [[API17:JMailHelper::cleanAddress|Other versions of JMailHelper::cleanAddress]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JMailHelper::cleanAddress | category=JMailHelper::cleanAddress | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
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.
JMailHelper::cleanAddress[edit]
Description[edit]
Verifies that an email address does not have any extra headers injected into it.
public static function cleanAddress ($address)
Parameter | Type | Default | Description |
---|---|---|---|
$address | string | email address. |
- Returns string|false email address string or boolean false if injected headers are present.
- Defined on line 85 of libraries/joomla/mail/helper.php
- Since
See also[edit]
- JMailHelper::cleanAddress source code on BitBucket
- Class JMailHelper
- Subpackage Mail
- Other versions of JMailHelper::cleanAddress
User contributed notes[edit]
Code Examples[edit]