panda1rimshot Posted August 19, 2010 Share Posted August 19, 2010 Hi Guys, I'm having slight problems with my contact form coding. Ok here goes...when I fill in the information on the contact form and press submit the email is sent not a problem, but I get an error message below the sent proceedure displaying. I've checked and doubled checked the code error area's but but just can not see the problem. you can view the screenshots here http://www.bubblegum-web.com/phphelp/screenshot.jpg http://www.bubblegum-web.com/phphelp/contact_php.jpg http://www.bubblegum-web.com/phphelp/class_mailer.jpg any help on this would be great as I proberly cant see for looking..lol. cheers Quote Link to comment Share on other sites More sharing options...
kallanar Posted August 19, 2010 Share Posted August 19, 2010 I think you are calling the sendMail() function wrong on contact.php line 45, because the fourth argument is required. It should be: $mail = $mailer->sendMail($setup->set['site_email'], $mail_template['subject'], $body, ""); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.