php mail function issue.
am 11.12.2007 06:50:35 von vikas batra--0-1275784835-1197352235=:47959
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
=0A Hi,
I am trying to send mail using mail function of php, it's work=
ing fine on one server and it fails to send mails on other server.On first=
server is showing message "Mail Sent Successfully" and on other it is show=
ing "Mail Sending Failed".In my local system it is also working fine,this c=
ode was working fine some days ago but suddenly it stopped working,this pro=
blem might be due to some server configuration changes, but i am not gettin=
g what exactly is the issue , so that i can resolve it.what might be the re=
asons?Any body can explain me.......
])){=0A $to =3D $_POST['email'];=0A $subject =3D $_POST['subject'];=
=0A $message =3D $_POST['message'];=0A $headers =3D 'MIME-Version: 1=
..0' . "\r\n";=0A $headers .=3D 'Content-type: text/html; charset=3Diso-8=
859-1' . "\r\n";=0A $headers .=3D 'From: SCONNECT
;
if(mail ($to, $subject, $message, $headers )){=0A $msg =
=3D "Mail Sent Successfully";=0A }else {=0A $msg =3D "Mail Sendin=
g Failed";=0A }=0A}=0A?>
=0A
Mail test from script=0A
This page is used to test the mail from script.
=0A