help with the mail function

This is a discussion on help with the mail function within the PHP Language forums, part of the PHP Programming Forums category; Dear all i m trying to simply send an email when a user registers, and i used the mail function ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-28-2006
Meena
 
Posts: n/a
Default help with the mail function

Dear all i m trying to simply send an email when a user registers, and
i used the mail function and i got the error "Warning: mail(): SMTP
server response: 550 5.7.1 Unable to relay for m@hotmail.com in
C:\Extrn\dx\mail.php on line 2" and i have no clue what is wrong??!!!

can anyone help please


thank you

Reply With Quote
  #2 (permalink)  
Old 07-28-2006
Jerry Stuckle
 
Posts: n/a
Default Re: help with the mail function

Meena wrote:
> Dear all i m trying to simply send an email when a user registers, and
> i used the mail function and i got the error "Warning: mail(): SMTP
> server response: 550 5.7.1 Unable to relay for m@hotmail.com in
> C:\Extrn\dx\mail.php on line 2" and i have no clue what is wrong??!!!
>
> can anyone help please
>
>
> thank you
>


Sounds like your email server is configured correctly - not allowing
just anyone to forward email outside of the domain (prevents it from
being used as a spam relay).

Generally this means you will need some kind of authentication. You'll
have to find out from your host just what is required.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #3 (permalink)  
Old 07-29-2006
R. Rajesh Jeba Anbiah
 
Posts: n/a
Default Re: help with the mail function

Meena wrote:
> Dear all i m trying to simply send an email when a user registers, and
> i used the mail function and i got the error "Warning: mail(): SMTP
> server response: 550 5.7.1 Unable to relay for m@hotmail.com in
> C:\Extrn\dx\mail.php on line 2" and i have no clue what is wrong??!!!


Your SMTP server may not be configured to relay. Are you using
Mercury? or any other mail servers?

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0