You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use mhsendmail as a sendmail replacement for some Drupal sites, and when I try sending emails using Drupal's built-in email functionality (with PHP's sendmail_path defined as /opt/mailhog/mhsendmail, where the binary is located), I get the following error in the logs:
flag provided but not defined: -femail@example.com
Usage of /opt/mailhog/mhsendmail:
-from="nobody@example": SMTP sender
-smtp-addr="localhost:1025": SMTP server address
It looks like mhsendmail expects a nice -from=address format, but Drupal (and many other PHP apps I've encountered use -faddress to provide a from email address.
Can you add support for this format, so mhsendmail can be more of a drop-in replacement for sendmail?
The text was updated successfully, but these errors were encountered:
I'm trying to use mhsendmail as a sendmail replacement for some Drupal sites, and when I try sending emails using Drupal's built-in email functionality (with PHP's
sendmail_path
defined as/opt/mailhog/mhsendmail
, where the binary is located), I get the following error in the logs:It looks like mhsendmail expects a nice
-from=address
format, but Drupal (and many other PHP apps I've encountered use-faddress
to provide a from email address.Can you add support for this format, so mhsendmail can be more of a drop-in replacement for sendmail?
The text was updated successfully, but these errors were encountered: