getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

Sendmail issue #71

Closed Daniel-KM closed 6 years ago

Daniel-KM commented 6 years ago

I use the plugin subscribe and since the last update, i get (the plugin subscribe was not updated since a while, but this one was updated):

Swift_TransportException
Unsupported sendmail command flags [/usr/sbin/sendmail]. Must be one of "-bs" or "-t" but can include additional flags.
Daniel-KM commented 6 years ago

This is related to a bad upgrade process. The param -bs was not added automatically to the config of the plugin during the upgrade.

Daniel-KM commented 6 years ago

But there is another issue related (see #72 ) to the fact that swiftmailer is not up to date.

yannicgraeser commented 6 years ago

Where do I have to add -bs in the plugin config?

Daniel-KM commented 6 years ago

In the config of the plugin via the admin panel : https://example.com/admin/plugins/email

bradlis7 commented 6 years ago

You can configure user/config/plugins/email.yaml directly by setting

mailer:
  sendmail:
    bin: '/usr/sbin/sendmail -bs'

This seemed to fix it for me.