Forums / Setup & design / Problem with sending mails via feedback form
Michal Slocinski
Tuesday 18 December 2007 4:13:19 am
Hi,
I've strange problem with sending mails via feedback form on ezPublish 4.0.
I belive all my settings are correct (tried with snmp and sendmail) but it simply doesn't work. I'm happy to debug some code but currently I can't get to the place where it can be failing (there are no logs in log file which could help me).
I know all goes at the end to eZMailTransport class but as far as I see problem occurs somewhere before since it doesn't look like it's called.
Could someone give me some hints on how to best debug such problem?
Michal
Bartek Modzelewski
Tuesday 18 December 2007 7:40:31 am
Hi MichaĆ,
Do all the form data are stored in database (as collected informations) ? If not there is something wrong with your form.
Try to put Transport=file in MailSettings section of site.ini. Then all emails will be stored in var/log/mail folder, so you will be able to check if format of email is ok. Sometimes mail servers reject emails because of wrong format like lack of sender email.
Bartek
Baobaz http://www.baobaz.com