jMailer based on PHPMailer - PHP email transport class
| package |
jelix |
|---|---|
| subpackage |
utils |
| author |
Laurent Jouanneau |
| contributor |
Kévin Lepeltier |
| copyright |
2006-2008 Laurent Jouanneau |
| copyright |
2008 Kévin Lepeltier |
| since | 1.0b1 |
| see |
__construct()
copyMail( $header, $body)
CreateHeader()
debugOverrideReceivers()
FileSend( $header, $body) : boolean
| access |
public |
|---|---|
boolean
getAddrName(string $address, string $kind = false) : \array(
string
stringOne of 'to', 'cc', 'bcc', or 'ReplyTo'
\array($name, $address )
getStorageFile()
html2textKeepLinkSafe(string $html) : string
Basically, it removes all tags (strip_tags). For tags, it puts the link in parenthesis, except elements having the "notexpandlink". class.
| since | 1.6.17 |
|---|
string
string
IsFile() : void
lang( $key)
MailSend( $header, $body)
Send() : boolean
boolean
sendmailSend( $header, $body)
SetLanguage( $lang_type = 'en', $lang_path = 'language/')
smtpSend( $header, $body)
Tpl(string $selector, boolean $isHtml = false, $html2textConverter = false, $htmlImageBaseDir = '') : \jTpl
string
booleantrue if the content of the template is html. IsHTML() is called.
\jTplthe template object.
DEBUG_RECEIVER_CONFIG
DEBUG_RECEIVER_USER
bodyTpl : string
Use the Tpl() method to change this property
| var |
|---|
string
defaultLang :
filePath :
copyToFiles :
htmlImageBaseDir :
html2textConverter :
debugModeEnabled : boolean
| var |
|---|
boolean
debugFrom : string
| var |
replacement for the From header |
|---|
string
debugFromName : string
| var |
replacement for the From header |
|---|
string
debugReceiversType : integer
| var |
combination of DEBUGRECEIVER* |
|---|
integer
debugReceivers : array
| var |
|---|
array
debugReceiversWhiteList : array
Receivers for 'To' having these emails will not be replaced by debugReceivers Receivers for 'Cc' and 'Bcc' having these emails will not be removed
| var |
|---|
array
debugSubjectPrefix :
debugBodyIntroduction :
tpl :
debugOriginalValues :