ZenphotoCMS Forum
Contact Form notification emails - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Contact Form notification emails (/thread-9033.html)



Contact Form notification emails - Bob Reeves - 02-09-2011

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




Contact Form notification emails - Bob Reeves - 02-09-2011

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.




Contact Form notification emails - acrylian - 02-09-2011

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.




Contact Form notification emails - Bob Reeves - 02-09-2011

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




Contact Form notification emails - acrylian - 02-09-2011

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.




Contact Form notification emails - Bob Reeves - 02-09-2011

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.




Contact Form notification emails - Bob Reeves - 02-09-2011

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".




Contact Form notification emails - acrylian - 02-09-2011

I guess you need to set the ini value manually, best via htaccess if possible, for now. Or try the phpmail plugin instead.




Contact Form notification emails - Bob Reeves - 02-09-2011

Thanks for your time and help, the php mail plugin worked.