I had used the email_message class for almost a year now. I use it in
servers configurations where the web server is running in the same
machine where is running the mail server.
Now I need to use this component in a system installed in a web server
that is running in a different PC than the mail server and the
component is not sending any mail.
How could I fix this problem?
Thank you in advance for your help.
on 09/12/2007 01:08 PM r_llaurado said the following:
This is an often misunderstood problem.
To send messages you do not need a SMTP mail server. A SMTP mail server
is only needed to receive messages. You need an MTA, like sendmail,
qmail, etc.. Every Linux or Unix like system comes with an MTA for
You only need to relay messages for delivery in another machine if for
some reason your Web server is blocked in a firewall from sending messages.
In that case you need only change the delivery class from
email_message_class to smtp_message_class. Take a look at the
test_smtp_message.php script for an example.
Metastorage - Data object relational mapping layer generator
PHP Classes - Free ready to use OOP components written in PHP