0

Please how do i add php code on my website to send messages from contact forms to my mail support@myweb.com with feedback

web development

29th Aug 2018, 10:26 AM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
10 Answers
+ 1
Playing with your form, add your page "sendMail.php" in the action of the form and use the method "post" or "get". On your sendMail.php page, get the informations into some var and use the mail() function : mail('example@example.com', 'Object', $message); Play a bit and give me a feedback, I'm free to help you more but I'm kinda showing you the way, enjoy :)
29th Aug 2018, 12:44 PM
Sam Pache
Sam Pache - avatar
+ 1
please how can I contact you privately?
30th Aug 2018, 10:48 AM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
thank you very much I'll work on this and get back to you
30th Aug 2018, 10:47 AM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
I don't know, just write here :)
30th Aug 2018, 10:50 AM
Sam Pache
Sam Pache - avatar
0
OK bro thanks alot
19th Sep 2018, 10:12 PM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
still on my contact form, how can I redirect after form submission to the index.php with an alert message of sent successfully! although I'm not using a phpmailer
19th Sep 2018, 10:14 PM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
this is the part I'm having issues: if(mail($to, $subject, $message, $headers)){ header("Location: index.php"); } else { function died ($error){ echo $error; }
19th Sep 2018, 10:18 PM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
the email do get sent and redirected to index.php but I wan. a message indication message sent
19th Sep 2018, 10:19 PM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
please help
19th Sep 2018, 10:19 PM
Abbeymaniak Paul
Abbeymaniak Paul - avatar
0
Can anyone help wit my xampp? I changed my computer and copied my camp folder to the new installation but I get getting *tables doesn't exist in engine* anytime I try to open any table in my php admin, pls help
9th Nov 2018, 12:36 PM
Abbeymaniak Paul
Abbeymaniak Paul - avatar