 |
| File |
Role |
Description |
smtp.gif |
Screen |
Debug output of sending a message via the Gmail SMTP server |
|
 |
|
Class that connects to a SMTP mail server to send messages.
It features:
- Relaying message delivery to a programmer defined SMTP server.
- 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.
 |
| Project record: |
smtpclass |
| Popularity score: |
198.76 |
| Vitality score: |
12.51 |
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (91.5%) |
Good (87.8%) |
Perfect (100.0%) |
Good (81.5%) |
Sufficient (75.0%) |
- |
Good (80.2%) |
3 |
| Month: |
Not yet rated by the users |
| Class |
Dependency |
Why it is needed |
| Simple Authentication and Security Layer |
Conditional |
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). |
| DNSResolver |
Conditional |
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 |
| Class |
Dependency |
Why it is needed |
| MIME E-mail message sending |
Conditional |
If it is used the SMTP message sub-class, this class is need to perform the actual SMTP delivery |
| pop3ml |
Required |
for connecting to a local/remote smtp server and sending e-mail messages |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| File |
Role |
Description |
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). |
smtp.php |
Class |
SMTP class file |
smtp_class.html |
Doc. |
Documentation of the SMTP class |
test_smtp.php |
Example |
SMTP class test script |
test_smtp_prepare_data.php |
Test |
Test suite script to verify whether the function to prepare message body data is working correctly |