![]() |
|
|
+ Search |
![]()
|
Mar 28th, 2008 16:43
ha mo, Abhijith Vijayan, Susan Braun,
We can send mails using php mail() functions. Here is a simple code for
sending mail through php scrpit.
<?php
$to = "recipient@test.com";
$subject = "Php test mail";
$body = "Test mail for php mail()";
if (mail($to, $subject, $body)) {
echo("<p>Yes you have done it</p>");
} else {
echo("<p>Oops try once more..</p>");
}
?>
'$to' specify the recipient address.
'$subject' specify mail subject.
'$body' specify the mail body.
With these function you can send mails. So You
have
to do is just recieve the values from the html forms and assign them to the
appropriate variables.
If you have any doubts contact me on abhijithonline2003@yahoo.co.in.
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com