Changing 'from' email address

Omeka Classic sends emails (like for password resets) from the Administrator Email address in Settings. But this means the messages can run afoul of junk mail filters that detect that the ‘from’ address is not the same domain as the site itself.

Is there a way to override this to set the ‘from’ address to something like ‘no-reply@[site domain]’? I’ve seen a thread in the Omeka S forum that addresses this, but nothing in the Classic forum.

We have tried altering the Apache configuration with:
php_admin_value sendmail_path "/usr/sbin/sendmail -[fno-reply@cvlcollections.org](mailto:fno-reply@cvlcollections.org) -t -i"
But this hasn’t worked.

Hi @bhammond ,

You can set the mail.force_from = “” in your configuration file.

1 Like

Ah–brilliant! Thanks very much (and again for the speedy response).