Member
Member
Bob Reeves   2011-09-02, 10:50
#1
Hi,

I am having problems with the contact form not sending notification emails. The contact form confirms that the email has been sent however I never receive them I have checked the email address in the form and that is correct

I am using version 1.4.1.1
ZPArdoise version 1.3
Contact form v1.4.1
Member
Member
Bob Reeves   2011-09-02, 11:10
#2
Further to the above I can confirm that the server error log has no errors in it after 23/08/2011 (I have tried the contact form today).

PHP Version 5.2.6

Sendmail is enabled.
Administrator
Administrator
acrylian   2011-09-02, 11:28
#3
Did you specific an email address on the main option to send FROM? Some servers require this to be an existing address on that server.
Member
Member
Bob Reeves   2011-09-02, 11:42
#4
Thanks for the reply acrylian,

I am a little confused I can not seem to find the "main option"

I have set the email address at the bottomof the contact_form within options>plugins
Administrator
Administrator
acrylian   2011-09-02, 11:55
#5
That is the address to send to. The one to send from is on Options > Gallery at the bottom. Often it works with anything but not on all servers.

If it does not work with a real mail address you have on your server best contact your host what to use.
Member
Member
Bob Reeves   2011-09-02, 12:05
#6
I have found the site email at the bottom of the options > general Page, Ihave it set to the ame email address as the form.

On earlier php forms i had to put in the following to make it work;

ini_set("sendmail_from","xxx@xxxxxxxx.co.uk");
ini_set("SMTP","smtp.xxxxxx.co.uk");

Would this work if it was included in the code, if so where would I put it.
Member
Member
Bob Reeves   2011-09-02, 12:12
#7
I have just read the following on my hosts help files, I hope this will help, and how do I implement it.

"If you are using a third party script to send email remember to set the sendmail_from variable (using ini_set('sendmail_from',email_from)), add the fifth -f parameter, and send the email either to, or from, a Fasthosts hosted email address".
Administrator
Administrator
acrylian   2011-09-02, 13:03
#8
I guess you need to set the ini value manually, best via htaccess if possible, for now. Or try the phpmail plugin instead.
Member
Member
Bob Reeves   2011-09-02, 14:06
#9
Thanks for your time and help, the php mail plugin worked.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.