XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsMailer Class Reference
Inheritance diagram for XoopsMailer:
Inheritance graph

Public Member Functions

 addHeaders ($value)
 
 assign ($tag, $value=null)
 
 encodeBody (&$text)
 
 encodeFromName ($text)
 
 encodeSubject ($text)
 
 getErrors ($ashtml=true)
 
 getSuccess ($ashtml=true)
 
 getTemplatePath ()
 
 reset ()
 
 send ($debug=false)
 
 sendMail ($email, $subject, $body, $headers)
 
 sendPM ($uid, $subject, $body)
 
 setBody ($value)
 
 setFromEmail ($value)
 
 setFromName ($value)
 
 setFromUser (&$user)
 
 setHTML ($value=true)
 
 setPriority ($value)
 
 setSubject ($value)
 
 setTemplate ($value)
 
 setTemplateDir ($value=null)
 
 setToEmails ($email)
 
 setToGroups ($group)
 
 setToUsers (&$user)
 
 useMail ()
 
 usePM ()
 
 XoopsMailer ()
 

Public Attributes

 $assignedTags
 
 $body
 
 $charSet = 'iso-8859-1'
 
 $encoding = '8bit'
 
 $errors
 
 $fromEmail
 
 $fromName
 
 $fromUser
 
 $headers
 
 $isMail
 
 $isPM
 
 $multimailer
 
 $subject
 
 $success
 
 $template
 
 $templatedir
 
 $toEmails
 
 $toUsers
 

Detailed Description

Definition at line 40 of file xoopsmailer.php.

Member Function Documentation

XoopsMailer::addHeaders (   $value)

Definition at line 440 of file xoopsmailer.php.

XoopsMailer::assign (   $tag,
  $value = null 
)

Definition at line 421 of file xoopsmailer.php.

XoopsMailer::encodeBody ( $text)

Definition at line 504 of file xoopsmailer.php.

XoopsMailer::encodeFromName (   $text)

Definition at line 490 of file xoopsmailer.php.

XoopsMailer::encodeSubject (   $text)

Definition at line 497 of file xoopsmailer.php.

XoopsMailer::getErrors (   $ashtml = true)

Definition at line 387 of file xoopsmailer.php.

References $error, $errors, $ret, and _ERRORS.

XoopsMailer::getSuccess (   $ashtml = true)

Definition at line 405 of file xoopsmailer.php.

References $ret.

XoopsMailer::getTemplatePath ( )

Definition at line 149 of file xoopsmailer.php.

References $GLOBALS, and $path.

XoopsMailer::reset ( )

Definition at line 115 of file xoopsmailer.php.

XoopsMailer::send (   $debug = false)
XoopsMailer::sendMail (   $email,
  $subject,
  $body,
  $headers 
)

Send email

Uses the new XoopsMultiMailer

Parameters
string$
string$
string$
Returns
boolean FALSE on error.

Definition at line 358 of file xoopsmailer.php.

References $email.

XoopsMailer::sendPM (   $uid,
  $subject,
  $body 
)

Definition at line 331 of file xoopsmailer.php.

References $pm_handler, $uid, $xoopsUser, and xoops_gethandler().

Here is the call graph for this function:

XoopsMailer::setBody (   $value)

Definition at line 209 of file xoopsmailer.php.

XoopsMailer::setFromEmail (   $value)

Definition at line 176 of file xoopsmailer.php.

XoopsMailer::setFromName (   $value)

Definition at line 182 of file xoopsmailer.php.

XoopsMailer::setFromUser ( $user)

Definition at line 189 of file xoopsmailer.php.

References $user.

XoopsMailer::setHTML (   $value = true)

Definition at line 108 of file xoopsmailer.php.

XoopsMailer::setPriority (   $value)

Definition at line 197 of file xoopsmailer.php.

XoopsMailer::setSubject (   $value)

Definition at line 203 of file xoopsmailer.php.

XoopsMailer::setTemplate (   $value)

Definition at line 170 of file xoopsmailer.php.

XoopsMailer::setTemplateDir (   $value = null)

Definition at line 138 of file xoopsmailer.php.

References $GLOBALS, and DIRECTORY_SEPARATOR.

XoopsMailer::setToEmails (   $email)

Definition at line 446 of file xoopsmailer.php.

References $email.

XoopsMailer::setToGroups (   $group)

Definition at line 474 of file xoopsmailer.php.

References $member_handler, and xoops_gethandler().

Here is the call graph for this function:

XoopsMailer::setToUsers ( $user)

Definition at line 460 of file xoopsmailer.php.

References $user.

XoopsMailer::useMail ( )

Definition at line 215 of file xoopsmailer.php.

XoopsMailer::usePM ( )

Definition at line 221 of file xoopsmailer.php.

XoopsMailer::XoopsMailer ( )

Constructor

Returns
XoopsMailer

Definition at line 101 of file xoopsmailer.php.

Member Data Documentation

XoopsMailer::$assignedTags

Definition at line 86 of file xoopsmailer.php.

XoopsMailer::$body

Definition at line 74 of file xoopsmailer.php.

XoopsMailer::$charSet = 'iso-8859-1'

Definition at line 92 of file xoopsmailer.php.

XoopsMailer::$encoding = '8bit'

Definition at line 94 of file xoopsmailer.php.

XoopsMailer::$errors

Definition at line 77 of file xoopsmailer.php.

XoopsMailer::$fromEmail

Definition at line 52 of file xoopsmailer.php.

XoopsMailer::$fromName

Definition at line 55 of file xoopsmailer.php.

XoopsMailer::$fromUser

Definition at line 59 of file xoopsmailer.php.

XoopsMailer::$headers

Definition at line 68 of file xoopsmailer.php.

XoopsMailer::$isMail

Definition at line 82 of file xoopsmailer.php.

XoopsMailer::$isPM

Definition at line 84 of file xoopsmailer.php.

XoopsMailer::$multimailer

Definition at line 49 of file xoopsmailer.php.

XoopsMailer::$subject

Definition at line 71 of file xoopsmailer.php.

XoopsMailer::$success

Definition at line 80 of file xoopsmailer.php.

XoopsMailer::$template

Definition at line 88 of file xoopsmailer.php.

XoopsMailer::$templatedir

Definition at line 90 of file xoopsmailer.php.

XoopsMailer::$toEmails

Definition at line 65 of file xoopsmailer.php.

XoopsMailer::$toUsers

Definition at line 62 of file xoopsmailer.php.


The documentation for this class was generated from the following file: