Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,155,826 members, 7,828,020 topics. Date: Tuesday, 14 May 2024 at 09:31 PM |
Nairaland Forum / Science/Technology / Programming / Php Mailform Didn't Work, Please What Happened (254 Views)
So What Happened To Andela In Nigeria? / WHAT Happened To 2G0 Messenger ? / Do Anyone Know What Happened To Learnerstv.com (2) (3) (4)
Php Mailform Didn't Work, Please What Happened by AAA2021: 5:00pm On Nov 19, 2022 |
I copied a php mailForm from somewhere and incorporated it into my contact form. I expected the form data to be mailed to my email address but it was not, despite the fact that upon submission of the contact form on the website, it displayed a success message[color=#000099][/color] |
Re: Php Mailform Didn't Work, Please What Happened by silento(m): 11:30pm On Nov 19, 2022 |
Set the php debug flag on so u will see the error $mail->SMTPDebug = 1; Will do the trick |
Re: Php Mailform Didn't Work, Please What Happened by AAA2021: 5:15pm On Nov 20, 2022 |
Thanks, please kindly give me a detailed guidance on what to do(or how to do it), I'm a front-end dev with no php or back-end experience |
Re: Php Mailform Didn't Work, Please What Happened by AAA2021: 5:54pm On Nov 20, 2022 |
Thanks, I've done what you suggested that I should do, the error message I got (displayed on the webpage) is something like; 'Creating default object from empty value in /home/myFolderName/public_html/contact.php on line 15' I insert - $mail->SMTPDebug = 1; - into line 15, just the closing ?> php tag. Please, what should I do next |
(1) (Reply)
What Is Html? / Asking University Students Programming Questions And Giving Them Money / Chatgpt
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8 |