Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Optionally log the sending of e-mails (ENV variable) #1127

Closed
orenyk opened this issue Feb 5, 2015 · 1 comment
Closed

Optionally log the sending of e-mails (ENV variable) #1127

orenyk opened this issue Feb 5, 2015 · 1 comment

Comments

@orenyk
Copy link
Contributor

orenyk commented Feb 5, 2015

We should log the sending of all automatically sent (e.g. rake task sent) e-mails using Rails.logger to help debug future e-mail issues (e.g. #1125), but on larger instances this may prove to be prohibitive. Therefore, we should also introduce a configuration setting (via an ENV variable) that determines whether or not to log e-mails.

@orenyk orenyk added this to the 5.2.0 milestone Feb 5, 2015
@orenyk orenyk modified the milestones: Wish List, 5.2.0 Feb 27, 2015
@orenyk orenyk added pri: 2 and removed pri: 3 labels Feb 27, 2015
@orenyk orenyk modified the milestones: 5.4.0, Wish List Aug 31, 2015
@esoterik esoterik self-assigned this Sep 29, 2015
esoterik pushed a commit that referenced this issue Oct 2, 2015
@orenyk
Copy link
Contributor Author

orenyk commented Oct 4, 2015

For posterity - we're probably going to use ActionMailer Observers for this to keep things nice and DRY. See #1316 for discussion.

esoterik pushed a commit that referenced this issue Oct 13, 2015
esoterik pushed a commit that referenced this issue Oct 20, 2015
Resolves #1127
  - Emails are logged via an Observer
  - Log message contains subject and addressee
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants