Mailform not sending mail

General questions about CMSimple
Post Reply
Korvell
Posts: 93
Joined: Thu May 22, 2008 10:33 pm

Mailform not sending mail

Post by Korvell » Tue Sep 16, 2014 5:14 pm

Hi. I'm having trouble with the mailform on my site. It looks like it is working and sending the message, but nothing arrives at the mail address set in config. And it's not ending in spam folder...
I'm using XH v1.6.2. Debug mode doesn't show anything. What can I do/check/set/try?

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Mailform not sending mail

Post by cmb » Tue Sep 16, 2014 5:39 pm

Korvell wrote:I'm having trouble with the mailform on my site. It looks like it is working and sending the message, but nothing arrives at the mail address set in config. And it's not ending in spam folder...
I'm using XH v1.6.2. Debug mode doesn't show anything.
Success of calling mail() unfortunately doesn't tell whether the mail will be delivered. A common problem is that the email will be blocked by an MTA.
Korvell wrote:What can I do/check/set/try?
The best is to look into the mail logs. You may have to ask your provider to do this for you.

And it's worth a try to set the hidden config option Mailform -> Lf_only; you have to do this in cmsimple/config.php directly:

Code: Select all

$cf['mailform']['lf_only']="true";
Christoph M. Becker – Plugins for CMSimple_XH

Korvell
Posts: 93
Joined: Thu May 22, 2008 10:33 pm

Re: Mailform not sending mail

Post by Korvell » Tue Sep 16, 2014 6:21 pm

Thanks. I tried the hidden setting in config.ini but no success. I have contacted my provider and asked for the log files if available. Continued...

Korvell
Posts: 93
Joined: Thu May 22, 2008 10:33 pm

Re: Mailform not sending mail

Post by Korvell » Wed Sep 17, 2014 2:14 pm

OK - got in touch with my provider and it turned out to be an erroneous config setting on their servers. It's now corrected and my mailform now works as expected.
Thanks for good support once again :)

- Korvell

Post Reply