Where can i specify wich SMTP server the contact form should use? I can not find anywhere settings for smtp server in either cmsms or the contact form tag.
If i try to use contact form i get the message "Sorry, the message was not sent. The server may be down!"
David
contact form smtp
-
cyberman
Re: contact form smtp
contact form tag use mail for sending requests. It's IMHO not possible to use smtp. Perhaps you should try feedback form ...
-
qwe123
Re: contact form smtp
Sorry if I appear dumb, but what do you mean by mail? Is that a module in cmsms?
I will try feedback form, but I'm still curious to understand what I need to do to get the contact form to work.
/David
I will try feedback form, but I'm still curious to understand what I need to do to get the contact form to work.
/David
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: contact form smtp
he meant that the contact form uses the php mail function, which requires configuration in the php.ini
the feedbackform module requires the cmsmailer module which also allows you to choose between mailer methods.
the feedbackform module requires the cmsmailer module which also allows you to choose between mailer methods.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
jelle
Re: contact form smtp
Maybe the contactform should be refactored so it could use the cms/phpmailer class if installed, or else default to the mail php function?
-
davidL
Re: contact form smtp
I have tried to use feedback form to achieve something similar to contact form, but failed since I can not get the cmsmailer module to work. I’ve tried two different smtp servers but it doesn’t work. Are there any known problems with this module? I’m not sure if it’s me or some form of bug. If I send a test email through the cmsmailer admin it appears to work (no error messages and I get back to original page after pressing send) but no emails are delivered.
I agree that it would be good if contact form could use the cmsMailer module since not everyone may have access to specify a server in php.ini (I don’t). I also did not find a way to get feedback form to work exactly as contact form so feedback form can’t work as a replacement
/David
I agree that it would be good if contact form could use the cmsMailer module since not everyone may have access to specify a server in php.ini (I don’t). I also did not find a way to get feedback form to work exactly as contact form so feedback form can’t work as a replacement
/David
Last edited by davidL on Sat Apr 01, 2006 2:34 pm, edited 1 time in total.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: contact form smtp
The CMSMailer module is in use by alot of other modules used for sending messages. Unfortunately CMSMailer isn't very nice in the feedback it provides (it doesn't provide much at all).
As a fallback, try setting the mailer method to "mail", this will use the php.ini settings on your host, and should just work fine for you.
As a fallback, try setting the mailer method to "mail", this will use the php.ini settings on your host, and should just work fine for you.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
cyberman
Re: contact form smtp
What result has the php instruction phpinfo() on your account? Especially this line:
)
It will be shown under Configuration PHP Core.
(It's a line from one of my accountssendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
It will be shown under Configuration PHP Core.
-
davidL
Re: contact form smtp
It seems I spoke to soon. It actually seems to work. Today I got like 10 mails from the cmsmailer. All being sent on Saturday when I was playing with the module
. They must have gotten stuck in some thin cables on their delivery
. I tried the module again and now it worked immediately. Strange that both smtps i tried were giving delayed deliverys
Sorry to bother you. I very much appreciate your will to help
/David
Sorry to bother you. I very much appreciate your will to help
/David
