• Hi,

    In the FAQ it’s written that I should contact my administrator when I keep getting the error message with the red border.

    I happen to be that admin myself, but I need some error message to know where I can start debugging. Currently the contact form does not give any information about what exactly is the problem it has when sending Email.
    There is not output in the webserver’s error log, where I’d usually expect some information on what exactly goes wrong.

    WordPress itself can send email, and by running “mail somename@mydomain.com” I can send mail on the console without error.
    Does contact form try to send mail via SMTP itself, if so, where do I have to set a server?

    Thanks in advance for any hints,
    Henning

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter henningsprang

    (@henningsprang)

    After searching further, testing sending mail directly with the php mail command, which worked well, I finally found the Problem and the solution:

    The Form was not configured to include the Text input into the the mail, so the message body was empty, and this seems not to work.

    While it’s somehow dumb when users like my try sending empty mails, a system that refuses to send such an empty mail should also tell the user that it does so and why, so debugging is easier. Any action that leads to an error should result in an error message in the webserver’s log file.

    Thread Starter henningsprang

    (@henningsprang)

    BTW: I’d be happy to provide a patch warning users that empty mails cannot be sent, but I’m not sure where and how it’s best implemented.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] Error output to debug problems’ is closed to new replies.