Re: cannot send mail through localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 11/30/2004 12:42 AM, Ross Hulford wrote:
I am trying to test my form locally, however it doesn't get picked up  my
mailbox.

The form is fine and I even set the access in IIS to 127.0.0.1 so the relay
error is not a porblem anymore. This must be a setup problem.

The mail is a standard mailform. I just use IIS thought a mail server is in
place when Iinstalled it.

I get no errors. Telnet is working on port 23 "microsofts esmtp service
ready..."


Do I have to start the mail server as a service? If so how do Ido this?

Maybe PHP is not configured properly or the message is being bounced to some address that you are not aware.


You may want to try this class that comes with a wrapper function named smtp_mail(). It works like the mail() function but lets you configure the SMTP server that you want to use. You can also set the bounce address setting the Return-Path header. If the message is not accepted, you may want to enable dubug output to see the SMTP dialog and maybe understand what may be the problem from the protocol messages that are exchanged:

http://www.phpclasses.org/mimemessage

You also need this class:

http://www.phpclasses.org/smtpclass

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux