Commit Graph

9 Commits

Author SHA1 Message Date
Patrick Gansterer 0ed3b7b7c3 Align MessagesMailer argument order with Mailer 2017-09-30 12:14:16 +02:00
Patrick Gansterer c71b91a32f Allow User objects in From mail field and set Reply-To if not set already 2017-09-30 12:14:16 +02:00
Patrick Gansterer b5c9634315 Allow User objects in Bcc, Cc Reply-To, Sencer and To mail fields 2017-09-30 12:14:16 +02:00
Patrick Gansterer 04bf994c9a Override the mail method of Mailer to automatically add the foodcoop name 2017-09-30 12:14:16 +02:00
Patrick Gansterer 43c1833cd7 Set ActionMailer configuration in FoodsoftConfig 2017-09-30 12:14:15 +02:00
wvengen 80ab359860 Correct messages i18n 2016-03-07 22:17:18 +01:00
Patrick Gansterer 4e35e2d58e Add handling for message reply via email
If the reply_email_domain configuration is set the messages plugin will
use unique Reply-To addresses for every email. They contain enough
information to reconstruct the message context and a hash to avoid
user forgery and spam.
A mail transfer agent must be configured to call the new rake task
foodsoft:parse_reply_email for incoming mails. The rake task requires
the receipt of the mail in the RECIPIENT variable and the raw message
via standard input. An example invocation would look like:
rake foodsoft:parse_reply_email RECIPIENT=f.1.1.HASH < test.eml
2016-03-04 18:11:27 +01:00
Patrick Gansterer 32bd8f600b Use FoodsoftConfig[:email_sender] for sender address
Not every email provider allows sending messages from an unauthorized server.
2015-02-18 16:54:44 +01:00
wvengen 6aa8ee7968 Move plugins to separate directory. 2014-11-22 00:43:24 +01:00