EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
JPhpMailer Class Reference
Inheritance diagram for JPhpMailer:
PHPMailer

Additional Inherited Members

- Public Member Functions inherited from PHPMailer
 __construct ($exceptions=false)
 
 IsHTML ($ishtml=true)
 
 IsSMTP ()
 
 IsMail ()
 
 IsSendmail ()
 
 IsQmail ()
 
 AddAddress ($address, $name= '')
 
 AddCC ($address, $name= '')
 
 AddBCC ($address, $name= '')
 
 AddReplyTo ($address, $name= '')
 
 SetFrom ($address, $name= '', $auto=1)
 
 Send ()
 
 SmtpConnect ()
 
 SmtpClose ()
 
 SetLanguage ($langcode= 'en', $lang_path= 'language/')
 
 GetTranslations ()
 
 AddrAppend ($type, $addr)
 
 AddrFormat ($addr)
 
 WrapText ($message, $length, $qp_mode=false)
 
 UTF8CharBoundary ($encodedText, $maxLength)
 
 SetWordWrap ()
 
 CreateHeader ()
 
 GetMailMIME ()
 
 CreateBody ()
 
 HeaderLine ($name, $value)
 
 TextLine ($value)
 
 AddAttachment ($path, $name= '', $encoding= 'base64', $type= 'application/octet-stream')
 
 GetAttachments ()
 
 EncodeString ($str, $encoding= 'base64')
 
 EncodeHeader ($str, $position= 'text')
 
 HasMultiBytes ($str)
 
 Base64EncodeWrapMB ($str)
 
 EncodeQPphp ($input= '', $line_max=76, $space_conv=false)
 
 EncodeQP ($string, $line_max=76, $space_conv=false)
 
 EncodeQ ($str, $position= 'text')
 
 AddStringAttachment ($string, $filename, $encoding= 'base64', $type= 'application/octet-stream')
 
 AddEmbeddedImage ($path, $cid, $name= '', $encoding= 'base64', $type= 'application/octet-stream')
 
 InlineImageExists ()
 
 ClearAddresses ()
 
 ClearCCs ()
 
 ClearBCCs ()
 
 ClearReplyTos ()
 
 ClearAllRecipients ()
 
 ClearAttachments ()
 
 ClearCustomHeaders ()
 
 IsError ()
 
 AddCustomHeader ($custom_header)
 
 MsgHTML ($message, $basedir= '')
 
 set ($name, $value= '')
 
 SecureHeader ($str)
 
 Sign ($cert_filename, $key_filename, $key_pass)
 
 DKIM_QP ($txt)
 
 DKIM_Sign ($s)
 
 DKIM_HeaderC ($s)
 
 DKIM_BodyC ($body)
 
 DKIM_Add ($headers_line, $subject, $body)
 
- Static Public Member Functions inherited from PHPMailer
static ValidateAddress ($address)
 
static RFCDate ()
 
static _mime_types ($ext= '')
 
- Data Fields inherited from PHPMailer
 $Priority = 3
 
 $CharSet = 'iso-8859-1'
 
 $ContentType = 'text/plain'
 
 $Encoding = '8bit'
 
 $ErrorInfo = ''
 
 $From = 'root@localhost'
 
 $FromName = 'Root User'
 
 $Sender = ''
 
 $Subject = ''
 
 $Body = ''
 
 $AltBody = ''
 
 $WordWrap = 0
 
 $Mailer = 'mail'
 
 $Sendmail = '/usr/sbin/sendmail'
 
 $PluginDir = ''
 
 $ConfirmReadingTo = ''
 
 $Hostname = ''
 
 $MessageID = ''
 
 $Host = 'localhost'
 
 $Port = 25
 
 $Helo = ''
 
 $SMTPSecure = ''
 
 $SMTPAuth = false
 
 $Username = ''
 
 $Password = ''
 
 $Timeout = 10
 
 $SMTPDebug = false
 
 $SMTPKeepAlive = false
 
 $SingleTo = false
 
 $SingleToArray = array()
 
 $LE = "\n"
 
 $DKIM_selector = 'phpmailer'
 
 $DKIM_identity = ''
 
 $DKIM_domain = ''
 
 $DKIM_private = ''
 
 $action_function = ''
 
 $Version = '5.1'
 
const STOP_MESSAGE = 0
 
const STOP_CONTINUE = 1
 
const STOP_CRITICAL = 2
 
- Protected Member Functions inherited from PHPMailer
 SendmailSend ($header, $body)
 
 MailSend ($header, $body)
 
 SmtpSend ($header, $body)
 
 SetError ($msg)
 
 doCallback ($isSent, $to, $cc, $bcc, $subject, $body)
 
- Protected Attributes inherited from PHPMailer
 $language = array()
 

Detailed Description

JPhpMailer class file.

Version
alpha 2 (2010-6-3 16:42)
Author
jerry2801 jerry.nosp@m.2801.nosp@m.@gmai.nosp@m.l.co.nosp@m.m PHPMailer v5.1

A typical usage of JPhpMailer is as follows:

Yii::import('ext.phpmailer.JPhpMailer');
$mail=new JPhpMailer;
$mail->IsSMTP();
$mail->Host='smpt.163.com';
$mail->SMTPAuth=true;
$mail->Username='yourname';
$mail->Password='yourpassword';
$mail->SetFrom('name@.nosp@m.your.nosp@m.domai.nosp@m.n.co.nosp@m.m','First Last');
$mail->Subject='PHPMailer Test Subject via smtp, basic with authentication';
$mail->AltBody='To view the message, please use an HTML compatible email viewer!';
$mail->MsgHTML('

JUST A TEST!

');
$mail->AddAddress('whoto.nosp@m.@oth.nosp@m.erdom.nosp@m.ain..nosp@m.com','John Doe');
$mail->Send();

Definition at line 30 of file JPhpMailer.php.


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