I have been trying to send email for 2 days. using php I have tried different methods but to no avail .
I am sure I am making some small mistake.
Please can someone give step by step procedure of sending mail using Xampp?
swissknife007
3
Junior Poster in Training
Recommended Answers
Jump to PostWhat have you tried that is not working ?
http://expertester.wordpress.com/2010/07/07/how-to-send-email-from-xampp-php/
Jump to PostYour password is set correctly in the ini file ?
Jump to PostIt's in the link in the previous post.
Jump to Post<html> <body> <?php if (isset($_REQUEST['email'])) //if "email" is filled out, send email { //send email $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; mail("someone@example.com", "$subject", $message, "From:" . $email); echo "Thank you for using our mail form"; } else //if "email" is not …
All 13 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
swissknife007
3
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
swissknife007
3
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
swissknife007
3
Junior Poster in Training
fobos
19
Posting Whiz in Training
swissknife007
3
Junior Poster in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
swissknife007
3
Junior Poster in Training
swissknife007
3
Junior Poster in Training
fobos
19
Posting Whiz in Training
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.