Email not sending with CformsII – Need help with code!
-
Hello all,
I have a confusing problem that I’m trying to work out. I’m using CformsII as a contact form and even though I get a success message, the email is not sending. I have had this problem before and contacted my host (IX hosting) and they fixed it for me. I have contacted them again and got this message:
I would like to bring to your attention that we have certain limits on the smarthost server which is responsible for sending mails using php mail() function from web servers. In order not to share these limits with other customers on your server you should insert the following string before php mail() function in your form: ini_set(‘sendmail_from’, ‘[email protected]’);
So I need to add that bit of code somewhere to make it work, but I have no idea where. Does anyone have any ideas?
Thank you!
- The topic ‘Email not sending with CformsII – Need help with code!’ is closed to new replies.