PHP Classes

File: Documentation.txt

Recommend this page to a friend!
  Classes of Alexandre Tedeschi (d)   All In One - dSendMail2   Documentation.txt   Download  
File: Documentation.txt
Role: Documentation
Content type: text/plain
Description: Reference (Methods and Properties)
Class: All In One - dSendMail2
Mass Send, Attach, Embed, Through SMTP or MAIL()
Author: By
Last change: New methods added to the list.
Date: 15 years ago
Size: 1,958 bytes
 

Contents

Class file image Download
############################################################## # Class dSendMail2 # # Author: Alexandre Tedeschi (d) # E-Mail: alexandrebr at gmail dot com # Company: www.imaginacom.com # Londrina - PR / Brazil # # 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 # ############################################################## -- 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) ----- TO KNOW MORE ABOUT, READ EXAMPLES OR THE SOURCE CODE.