JMailHelper
Description
E-Mail helper class, provides static methods to perform various tasks relevant to the Joomla e-mail routines.
TODO: Test these methods as the regex work is first run and not tested thoroughly
Located in /joomla/utilities/mail.php (line 328)
JMailHelper (Subpackage Utilities)
Method Summary
Methods
cleanAddress (line 385)
Verifies that an e-mail address does not have any extra headers injected into it.
string|false
cleanAddress
(string $address)
- string $address: E-Mail address.
cleanBody (line 360)
Cleans any injected headers from the E-Mail body.
string
cleanBody
(string $body)
- string $body: E-Mail body string.
cleanLine (line 337)
Cleans single line inputs.
string
cleanLine
(string $value)
- string $value: String to be cleaned.
cleanSubject (line 373)
Cleans any injected headers from the subject string.
string
cleanSubject
(string $subject)
- string $subject: E-Mail subject string.
cleanText (line 348)
Cleans multi-line inputs.
string
cleanText
(string $value)
- string $value: Multi-line string to be cleaned.
isEmailAddress (line 401)
Verifies that the string is in a proper e-mail address format.
boolean
isEmailAddress
(string $email)
- string $email: String to be verified.
Documentation generated on Mon, 05 Mar 2007 21:10:10 +0000 by phpDocumentor 1.3.1