Login   Register  
PHP Classes
elePHPant
Icontem

SMTP E-mail sending class: Sends e-mail messages via SMTP protocol

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Manuel Lemos
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 45
All time rank: 1
Week rank: 1 Equal


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
Class that connects to a SMTP mail server to send messages. It features:

- Relaying message delivery to a programmer defined SMTP server.
- Connect to the SMTP server via a SOCKS 4 or 5 server, or an HTTP proxy
- Programmer defined server address, server port, connection timeout, origin host address.
- Support for authentication methods PLAIN and LOGIN.
- Support for POP3 based authentication before delivery.
- Direct delivery to one or more recipients with e-mail addresses with the same domain, so you do not need to relay on a own or your ISP SMTP server.
- Setting sender and recipient address as a separate step from the sending the headers and the body of the message.
- Returns message delivery success.
- Detects extensions supported by the SMTP server.
- Takes advantage of the SMTP PIPELINING extension to buffer SMTP commands, therefore minimizing SMTP dialogue between the class and the server in order to provide a much faster queueing of messages to be delivered to a large amount of recipients ( bulk mail ).

* Note: this class is better used in conjunction with the class "MIME E-mail message composing and sending class". See in the Email group.

  Classes of Manuel Lemos  >  SMTP E-mail sending class  >  Download Download .zip .tar.gz  >  Support forum Support forum (75)  >  Blog Blog (2)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SMTP E-mail sending class
Base name: smtpclass
Description: Sends e-mail messages via SMTP protocol
Version: 1.0.0
PHP version: 3
License: BSD License
All time users: 51107 users
All time rank: 3
Week users: 34 users
Week rank: 33 Down
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Dependencies  
  Dependents   Trackback   Applications   Files Files  

  Groups  
Group folder image Email Email sending and receiving View top rated classes
Group folder image Networking Networking protocols, clients and servers View top rated classes

  Files folder image Screenshots  
smtp.gif
File Role Description
Accessible without login Image file smtp.gif Screen Debug output of sending a message via the Gmail SMTP server


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (90%) Good (86%) Good (81%) Good (81%) Sufficient (73%) - Sufficient (77%) 30
Month: Not yet rated by the users

  Packages needed by this class  
Class DownloadWhy it is needed Dependency
Simple Authentication and Security Layer Download .zip .tar.gz When the SMTP server requires authentication the SASL package provides support for implementing authentication mechanisms like: PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix with Samba). Conditional
DNSResolver Download .zip .tar.gz If you use the direct delivery mode and are using Windows or any other platform on which the PHP function GetMXRR is not working, this class can provide an alternative Conditional

  Other classes that need this package  
Class Why it is needed Dependency
MIME E-mail message sending If it is used the SMTP message sub-class, this class is need to perform the actual SMTP delivery Conditional
pop3ml for connecting to a local/remote smtp server and sending e-mail messages Required

  Pages that reference this package  
En iyi 10 Php Sinifi!
...
PHP Mail via SMTP (Turkish)
Today I learned something like this might be needed. The development of the event are as follows: a customer who wants to use your own mail server, a citizen wishing to send bulk e-mail...
PHP: Enviar correos electronicos sin la funcion "mail()"
Esta clase PHP puede enviar correos electrónicos sin utilizar la función mail del php, envez de eso abre un socket e interactua directamente con el servidor de destino mediante el protocolo SMTP...
Sending email using PHP......
I think your smtp server is not configured properly...
Where I can find a good PHP library to send emails using SSL?
You can always use the PHP MIME message class and the SMTP driver which supports either SSL connections (needed to deliver via Gmail) or start TLS encryption (needed to deliver via Hotmail) if the servers support it...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file getmxrr.php Aux. GetMXRR function emulation need for direct delivery mode under Windows and other platforms without this function (needs DNS.php mentioned in the Related links section).
Plain text file smtp.php Class SMTP class file
Accessible without login HTML file smtp_class.html Doc. Documentation of the SMTP class
Accessible without login Plain text file test_smtp.php Example SMTP class test script
Accessible without login Plain text file test_smtp_prepare_data.php Test Test suite script to verify whether the function to prepare message body data is working correctly

Install with Composer Install with Composer - Download Download all files: smtpclass.tar.gz smtpclass.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.