Contact form not sending emails

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
sainsbury

Contact form not sending emails

Post by sainsbury »

Hi,

This is a great product by the way, looking forward to v1 stable  :)

So my problem is simple - I've set up CMSMS v0.13 and everything works fine, except for the contact form. I'm running the site on Debian with Apache 2. Is there an apache module I need to enable to make the email sending work? Or some other setup I need to do? I'm sure it's something simple like this.

Any help would be greatly appreciated.

Thanks,
Chris

PS I get the 'email successfully sent' message (but the email is not sent).
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Contact form not sending emails

Post by Dr.CSS »

Are you using the CMSMailer?

Configured how?

image of mine attached...

[attachment deleted by admin]
sainsbury

Re: Contact form not sending emails

Post by sainsbury »

Hiya,

No, I'm not. Is this a module I need to install for the contact form to work?

Cheers,
Chris
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Contact form not sending emails

Post by Dr.CSS »

tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Contact form not sending emails

Post by tsw »

Actually tag "contact form" doesnt use cmsmailer, it uses php mail function (which might not work in your host)

Your best bet is to install Feedbackform and cmsmailer, its well working package and much more customizable

hope this helps
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Contact form not sending emails

Post by Dr.CSS »

Oh I did not know that, sorry  :o
sainsbury

Re: Contact form not sending emails

Post by sainsbury »

Hiya,

Thanks for your help guys. Although I will install the Feedbackform and cmsmailer you recommend if need be, the contactform fulfils my needs adequately so I'd rather keep things simple and use that if possible. I have root access to my debian server, is there anything I could investigate to try to make the php mail function work?

Thanks,

Chris
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Contact form not sending emails

Post by tsw »

You can create small test file to test php mail function

\r\n";
$extra .= "Content-Type: text/plain\r\n";

if (mail($to, $subject, $message, $extra)) {
echo "test mail sent succesfully";
} else {
echo "something has gone wrong";
}
?>

If this works, I cant see why contact form wouldnt..

check your php config and keep an eye on logs while you test

Hope this helps
Locked

Return to “CMSMS Core”