Quote:
Originally Posted by ronverdonk
You misplaced the double quotes areoung the from and reply-to: you don't need thrm. The carriage returns/newlines were tehrefore also not recognized. This works:[php]<?php
mail("he_she_it@yahoo.com",
"How Are You, Pl. Offer Solution to",
"Will It Work with out telling me RECEIVE FIRST BEFORE SENDING",
"From: i_we_you@rediffmail.com\r\nReturn-Path: iweyou@rediffmail.com\r\n");
?>[/php]
Ronald :cool:
O Lo ! It did not work again. I got message below , but when I started E mail client and made it authenticate outside PHP , the mail ( ) worked ! Strange !!
The error I got was :-
Warning: mail() [function.mail]: SMTP server response: 553 sorry, Authentication failed or timed out. Please do get messages first to authenticate yourself.(#4.4.3) in C:\Documents and Settings\sam\Desktop\LOCAL SERVER\again\nattumail.php on line 5
PHP Warning: mail() [function.mail]: SMTP server response: 553 sorry, Authentication failed or timed out. Please do get messages first to authenticate yourself.(#4.4.3) in C:\Documents and Settings\sam\Desktop\LOCAL SERVER\again\nattumail.php on line 5