contactform email problem

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
BabeSpot
Regular
Posts: 30
Joined: Sun Dec 04, 2005 8:42 pm

contactform email problem

Post 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?
My Serendipity: BabeSpot !
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post 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.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
BabeSpot
Regular
Posts: 30
Joined: Sun Dec 04, 2005 8:42 pm

Post 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 ...
My Serendipity: BabeSpot !
BabeSpot
Regular
Posts: 30
Joined: Sun Dec 04, 2005 8:42 pm

Post by BabeSpot »

Nevermind ... after restarting the server with another emailhost as sendmail_from it works fine.

Thanks for the support guys!
My Serendipity: BabeSpot !
Post Reply