API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct () | |
XoopsMailer () | |
setHTML ($value=true) | |
reset () | |
setTemplateDir ($value=null) | |
getTemplatePath () | |
setTemplate ($value) | |
setFromEmail ($value) | |
setFromName ($value) | |
setFromUser ($user) | |
setPriority ($value) | |
setSubject ($value) | |
setBody ($value) | |
useMail () | |
usePM () | |
send ($debug=false) | |
sendPM ($uid, $subject, $body) | |
sendMail ($email, $subject, $body, $headers) | |
getErrors ($ashtml=true) | |
getSuccess ($ashtml=true) | |
assign ($tag, $value=null) | |
addHeaders ($value) | |
setToEmails ($email) | |
setToUsers ($user) | |
setToGroups ($group) | |
encodeFromName ($text) | |
encodeSubject ($text) | |
encodeBody (&$text) | |
Data Fields | |
$multimailer | |
$fromEmail | |
$fromName | |
$fromUser | |
$toUsers | |
$toEmails | |
$headers | |
$subject | |
$body | |
$errors | |
$success | |
$isMail | |
$isPM | |
$assignedTags | |
$template | |
$templatedir | |
$charSet = 'iso-8859-1' | |
$encoding = '8bit' | |
__construct | ( | ) |
Constructor
Reimplemented in XoopsMailerLocal.
addHeaders | ( | $value | ) |
$value |
assign | ( | $tag, | |
$value = null |
|||
) |
$tag | ||
null | $value |
encodeBody | ( | & | $text | ) |
$text |
encodeFromName | ( | $text | ) |
$text |
Reimplemented in XoopsMailerLocal.
encodeSubject | ( | $text | ) |
$text |
Reimplemented in XoopsMailerLocal.
getErrors | ( | $ashtml = true | ) |
bool | $ashtml |
getSuccess | ( | $ashtml = true | ) |
bool | $ashtml |
getTemplatePath | ( | ) |
reset | ( | ) |
send | ( | $debug = false | ) |
bool | $debug |
sendMail | ( | $email, | |
$subject, | |||
$body, | |||
$headers | |||
) |
Send email
Uses the new XoopsMultiMailer
$subject | |
$body | |
$headers |
sendPM | ( | $uid, | |
$subject, | |||
$body | |||
) |
$uid | |
$subject | |
$body |
setBody | ( | $value | ) |
$value |
setFromEmail | ( | $value | ) |
$value |
setFromName | ( | $value | ) |
$value |
setFromUser | ( | $user | ) |
$user |
setHTML | ( | $value = true | ) |
bool | $value |
setPriority | ( | $value | ) |
$value |
setSubject | ( | $value | ) |
$value |
setTemplate | ( | $value | ) |
$value |
setTemplateDir | ( | $value = null | ) |
null | $value |
setToEmails | ( | ) |
setToGroups | ( | $group | ) |
$group |
setToUsers | ( | $user | ) |
$user |
useMail | ( | ) |
usePM | ( | ) |
XoopsMailer | ( | ) |
PHP 4 style constructor compatibility shim
$assignedTags |
$body |
$charSet = 'iso-8859-1' |
$encoding = '8bit' |
$errors |
$fromEmail |
$fromName |
$fromUser |
$headers |
$isMail |
$isPM |
$multimailer |
$subject |
$success |
$template |
$templatedir |
$toEmails |
$toUsers |