dSendMail2 (version 2.37 from 20/07/2010)

PHP Class to sending SMTP e-mails.

Original credits:

Author: Alexandre Tedeschi (d) E-Mail: alexandrebr at gmail dot com Company: www.imaginacom.com Londrina - PR / Brazil License: Freeware

Requirements:

If you want to use SMTP, sockets must be enabled If your SMTP server uses SSL, SSL extension must be enabled No other classes are required

Other credits:

Thanks to Manuel Lemos (SMTP and SASL classes) Thanks to Richard Heyes (MIME classes)

Public properties

$m->error (Read-only property) $m->delay (default: 1. Seconds of delay when mass-mailing) $m->debug (dumping-debug) $m->logFolder (default: false. fill it if you want to save logs) $m->logFile (default: false. fill it if you want to save logs)

Public methods

$m->easyMail ($to, $subject, $message[, $from[, $html[, $attach]]]) $m->setPriority($priority) (1=High, 3=Normal, 5=Low) $m->setCharset ($charset) $m->setFrom ($from_mail[, $from_name]) $m->setTo ($visible_targets) $m->setBcc ($hidden_targets) $m->setSubject ($subject) $m->setMessage ($body[, $isHtml[, $autoNl2br]]) $m->autoAttachFile($filename, $filedata) $m->send ([$startInPart]) $m->setHTMLFile($filename[, $importImages]) $m->setEMLFile ($filename) $m->importHTML ($filebody, $baseDir[, $importImages]) $m->importEML ($filebody) $m->exportEML ([$setUnsent]) $m->sendThroughSMTP($server[, $port[, $user[, $pass[, $ssl]]]]) $m->sendThroughMail() $m->sendThroughGMail ("username@gmail.com", "password"); $m->sendThroughYahoo ("username@yahoo.com", "password"); $m->sendThroughHotMail("username@hotmail.com", "password"); $m->allowDupe() (Allow duplicated targets) $m->blockDupe() (Automatically remove duplicated targets in To/Cc/Bcc list - Default)

Note: see example files to get real usage cases.

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考学习用!
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。