Hello,

On 04/02/2004 04:35 PM, Matt Macleod wrote:
I'm stumped. I have a script to send a simple email using the mail() function in PHP.

For some reason I can only receive the email if I send it to my hotmail account. If I send to my regular email ([EMAIL PROTECTED]) I can't get it. I've also tried sending to other non-hotmail addresses with no luck.

any ideas?

Without further information it is hard to help you.


Anyway, the PHP mail() function has problems in some circunstances.

You may want to try this class that provides workarounds to some of the mail function problems. It comes with a wrapper function named smtp_mail() that emulates the mail() function except that it always sends the message via STMP independently of your platform.

You can enable debugging to see the SMTP dialog and so you can have a clue if the message is reject or accepted by the SMTP server you are using. If you do not have SMTP server to relay the message, you can always try to use the class direct delivery mode.

http://www.phpclasses.org/mimemessage

You will also need this other 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



Reply via email to