Page 1 of 1

contactform email problem

Posted: Mon Dec 05, 2005 1:24 am
by BabeSpot
Hi,

I have a problem using the contactform...

After trying to send several test-emails, the only message showing up is "An error occured while posting the message" ...

My server gives a normal 200 POST message, but the email has not been sent. I think it has something to do with the sendmail function and smtp, but in all other blog- and cms-software I found an easy way to set these things up, but can't find it in Serendipity.

Anybody has a clue?

Posted: Mon Dec 05, 2005 10:18 am
by JWalker
Are you under Windows environment (Apache+php) ? If so, check php.ini.
sendmail_from = must be set and not commented. This was my case.

Posted: Mon Dec 05, 2005 10:27 am
by garvinhicking
That's right, Serendipity just uses the PHP mail() command, which interfaces to sendmail. So both sendmail (compatible) MTA/SMTP must be installed on your server, and PHP's config must properly point to it as JWalker mentioned.

Serendipity (and none of the plugins I know) does not support direct connections to SMTP servers via TCP/socket protocolls.

Regards,
Garvin

Posted: Mon Dec 05, 2005 2:25 pm
by BabeSpot
garvinhicking wrote: Serendipity (and none of the plugins I know) does not support direct connections to SMTP servers via TCP/socket protocolls.
Thanks... that's the point ...

Posted: Tue Dec 06, 2005 2:03 am
by BabeSpot
Nevermind ... after restarting the server with another emailhost as sendmail_from it works fine.

Thanks for the support guys!