PHP Classes
Icontem

Class: SMTP E-mail sending class


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  SMTP E-mail sending class  >  Download  >  Support forum Support forum (41)  >  Blog Blog (2)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SMTP E-mail sending class Support forum
Base name: smtpclass
Description: Sends e-mail messages via SMTP protocol
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: BSD License
All time users: 37939 users
All time rank: 3
Week users: 113 users
Week rank: 25
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Dependencies   Dependents   Trackback   Applications   Files Files  

Screenshots

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

Author

Picture of Manuel Lemos
Name: Manuel Lemos <e-mail contact>
Published packages: 30 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Home page: http://www.ManuelLemos.net/
Age: 41
All time rank: 1
Week rank: 1

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

Detailed description

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.

Freshmeat project

SMTP E-mail sending class
Project record: smtpclass
Popularity score: 198.76
Vitality score: 12.51

User ratings

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

Packages needed by this class

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

Packages that need this class

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

Trackback links

Link Description
En iyi 10 Php Sinifi! ...
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...

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
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
HTML file smtp_class.html Doc. Documentation of the SMTP class
Plain text file test_smtp.php Example SMTP class test script
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
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2010 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products