I'm trying to configure CMSMailer to use sendmail and I get this error when trying to send a copy of a form to the user specified email address in the form:
Could not execute: /usr/sbin/sendmail
I guess it's not finding the script/executable, but I don't know where to look for it.
Any help much appreciated!
(sorry, I posted this in the wrong forum earlier today so I am re-posting where I think I should have done it in the first place)
[solved] Could not execute: /usr/sbin/sendmail
[solved] Could not execute: /usr/sbin/sendmail
Last edited by FCazabon on Mon Apr 13, 2015 11:56 am, edited 1 time in total.
-
- New Member
- Posts: 2
- Joined: Tue Apr 07, 2015 9:55 am
Re: Could not execute: /usr/sbin/sendmail
CMSMailer is used to send mail, but it must be configured to your host's requirements. Check with your host so that you have entered the right information.
Re: Could not execute: /usr/sbin/sendmail
Thanks. Cmsmailer is properly configured as the test email works. The problem seems to be with the form when it tries to send an email to the email address filled in by the user. The form is done using form builder and the email from address field type is what is causing the problem. If I set it to fill the from field on the email it doesn't work, apparently because at least one of the sender or recipient needs to be a valid email account on the host. If I change the field to fill in the reply to field it works
Re: Could not execute: /usr/sbin/sendmail
In Extensions > CMS Mailer > From address: the email (on my hosting) needs to be something@TheHostedDomain.com.
If you still have issues, try Mailer method "mail" which is what I always use.
If you still have issues, try Mailer method "mail" which is what I always use.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Re: Could not execute: /usr/sbin/sendmail
Yes, it's called email relaying and it's often not allowed. If the 'reply-to' option works just use that. It's probably the most convenient option.FCazabon wrote:Thanks. Cmsmailer is properly configured as the test email works. The problem seems to be with the form when it tries to send an email to the email address filled in by the user. The form is done using form builder and the email from address field type is what is causing the problem. If I set it to fill the from field on the email it doesn't work, apparently because at least one of the sender or recipient needs to be a valid email account on the host. If I change the field to fill in the reply to field it works
If that doesn't work either you could choose to use a normal text input field for the visitor's email address.
[solved] Re: Could not execute: /usr/sbin/sendmail
Thanks, I have used Reply-to only.