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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 ================== |
|
|||
|
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/ |