68 Classifieds API

Features
class tree: 68Classifieds | index: 68Classifieds | all elements

 Class Mailer

Description

Mailer class handles email and extends phpmailer.

Located in /includes/classes/kernel/Mailer.php (line 26)

PHPMailer
   |
   --Mailer
Variable Summary
 string $From
 string $FromName
 int $priority
 string $Sender
 string $to_email
 string $to_name
Method Summary
 booleen Mailer ()
 mixed sendMail (string $to, string $content, array $vars)
Variables
string $From = null (line 47)
  • var: From Email

Redefinition of:
PHPMailer::$From
Sets the From email address for the message.
string $FromName = null (line 52)
  • var: From Name

Redefinition of:
PHPMailer::$FromName
Sets the From name of the message.
int $priority = 3 (line 32)
  • var: Email priority
string $Sender = null (line 57)
  • var: Sender

Redefinition of:
PHPMailer::$Sender
Sets the Sender email (Return-Path) of the message. If not empty, will be sent via -f to sendmail or as 'MAIL FROM' in smtp mode.
string $to_email (line 42)
  • var: To Email
string $to_name (line 37)
  • var: To Name

Inherited Variables

Inherited from PHPMailer

PHPMailer::$AltBody
PHPMailer::$attachment
PHPMailer::$bcc
PHPMailer::$Body
PHPMailer::$boundary
PHPMailer::$cc
PHPMailer::$CharSet
PHPMailer::$ConfirmReadingTo
PHPMailer::$ContentType
PHPMailer::$CustomHeader
PHPMailer::$Encoding
PHPMailer::$ErrorInfo
PHPMailer::$error_count
PHPMailer::$Helo
PHPMailer::$Host
PHPMailer::$Hostname
PHPMailer::$language
PHPMailer::$LE
PHPMailer::$Mailer
PHPMailer::$MessageID
PHPMailer::$message_type
PHPMailer::$Password
PHPMailer::$PluginDir
PHPMailer::$Port
PHPMailer::$Priority
PHPMailer::$ReplyTo
PHPMailer::$Sendmail
PHPMailer::$sign_key_file
PHPMailer::$sign_key_pass
PHPMailer::$SingleTo
PHPMailer::$smtp
PHPMailer::$SMTPAuth
PHPMailer::$SMTPDebug
PHPMailer::$SMTPKeepAlive
PHPMailer::$SMTPSecure
PHPMailer::$Subject
PHPMailer::$Timeout
PHPMailer::$to
PHPMailer::$Username
PHPMailer::$Version
PHPMailer::$WordWrap
Methods
Constructor Mailer (line 67)

Mailer Constructor

Sets up the mail system and configures smtp if used.

  • return: True if exists False otherwise.
  • global: Core $Core:
booleen Mailer ()
sendMail (line 107)

Send the actual email. This fetches the template and uses it for the email body.

mixed sendMail (string $to, string $content, array $vars)
  • string $to: The email to send to.
  • string $content: The name of the email template to load.
  • array $vars: An array of variables to use with the template.

Inherited Methods

Inherited From PHPMailer

 PHPMailer::AddAddress()
 PHPMailer::AddAttachment()
 PHPMailer::AddBCC()
 PHPMailer::AddCC()
 PHPMailer::AddCustomHeader()
 PHPMailer::AddEmbeddedImage()
 PHPMailer::AddReplyTo()
 PHPMailer::AddStringAttachment()
 PHPMailer::ClearAddresses()
 PHPMailer::ClearAllRecipients()
 PHPMailer::ClearAttachments()
 PHPMailer::ClearBCCs()
 PHPMailer::ClearCCs()
 PHPMailer::ClearCustomHeaders()
 PHPMailer::ClearReplyTos()
 PHPMailer::getFile()
 PHPMailer::HeaderLine()
 PHPMailer::IsError()
 PHPMailer::IsHTML()
 PHPMailer::IsMail()
 PHPMailer::IsQmail()
 PHPMailer::IsSendmail()
 PHPMailer::IsSMTP()
 PHPMailer::MsgHTML()
 PHPMailer::Send()
 PHPMailer::set()
 PHPMailer::SetLanguage()
 PHPMailer::Sign()
 PHPMailer::SmtpClose()