PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (86)   Blog (2)    
Last Updated Ratings Unique User Downloads Download Rankings
2016-08-25 (1 year ago) RSS 2.0 feedStarStarStarStar 76%Total: 54,107 This week: 9All time: 3 This week: 57Down
Version License PHP version Categories
smtpclass 1.0.4BSD License3Email, Networking
Description Author

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.

Recommendations

Send emails fast
I need to send many emails

  Performance   Level  
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 48
All time rank: 1
Week rank: 6 Down1 in Portugal Portugal Equal

Screenshots  
  • smtp.gif
  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

Downloadsmtpclass-2016-08-25.zip 34KB
Downloadsmtpclass-2016-08-25.tar.gz 34KB
Install with ComposerInstall with Composer
Needed packages  
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
 Version Control Reuses Unique User Downloads Download Rankings  
 50%2
Total:54,107
This week:9
All time:3
This week:57Down
User Ratings User Comments (10)
 All time
Utility:89%StarStarStarStarStar
Consistency:86%StarStarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:81%StarStarStarStarStar
Tests:74%StarStarStarStar
Videos:-
Overall:76%StarStarStarStar
Rank:78
 
Good Job Manuel.
4 years ago (sergio)
90%StarStarStarStarStar
sooooooooo good
5 years ago (imedmy)
85%StarStarStarStarStar
Wonderful!
6 years ago (André Silva)
90%StarStarStarStarStar
Great class, I wish every piece of code would be write like t...
6 years ago (Artur)
90%StarStarStarStarStar
GOod
8 years ago (Amit kumar das)
90%StarStarStarStarStar
a little hard to figure out, but works great!
9 years ago (jbarrar)
52%StarStarStar
It is the ultimate solution for sending emails via SMTP throu...
9 years ago (Said Bakr)
80%StarStarStarStarStar
no support for MIME messages.
9 years ago (f5inet)
35%StarStar
excelency the Lemos way.
9 years ago (Namida)
80%StarStarStarStarStar
Good is the higher rating, but excellent is the rating I want...
9 years ago (Leo)
80%StarStarStarStarStar