PHP mail function
View Single Post
11-28-2011, 11:21 AM
Join Date: Nov 2011
Godaddy has the php.ini file configured with all the information.
This is the code to send a email using php is:
PHP code is:-
$to = "firstname.lastname@example.org";
$subject = "Email from php";
$body = "Hi \n this is a test";
mail($to, $subject, $body);
this just works in the godaddy host, no for test locally.
it works for me.
just try it.
iPhone Apps, iPhone apps for Bikers
Last edited by Parkinson4 : 11-29-2011 at
View Public Profile
Send a private message to Parkinson4
Find More Posts by Parkinson4