https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292014-11-19T11:48:55ZRedmineRedmine - Defect #18383: An error occurred while sending mail (undefined method `error' for :log:Symbol)https://www.redmine.org/issues/18383?journal_id=598822014-11-19T11:48:55ZMichael Kling
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>Ok resolved it... the error occured because i did this in /config/environments/production.rb:<br /><pre>
# Disable delivery errors if you bad email addresses should just be ignored
config.action_mailer.raise_delivery_errors = false
# No email in production log
# config.action_mailer.logger = nil
config.action_mailer.logger = :log
config.active_support.deprecation = :log
</pre></p>
<p>But putting the :log there was wrong. I just should have comment the nil assertion.<br />Like this:<br /><pre>
# Disable delivery errors if you bad email addresses should just be ignored
config.action_mailer.raise_delivery_errors = false
# No email in production log
# config.action_mailer.logger = nil
config.active_support.deprecation = :log
</pre></p>
<p>The log then generates this:</p>
<pre>
Rendered mailer/_issue.text.erb (12.6ms)
Rendered mailer/issue_edit.text.erb within layouts/mailer (21.2ms)
Rendered mailer/_issue.html.erb (12.5ms)
Rendered mailer/issue_edit.html.erb within layouts/mailer (21.1ms)
Sent email "[*** Support - Task #11121] create new redmine account for N***r" (131ms)
bcc: s***h@i***i.com, A***n@a***o.de, t***a@a***o.de, c***i@a***o.de, M***e@a***o.de, c***s@s***p.net, e***a@i***i.com
Redirected to http://m***o.de/issues/11121
</pre>
<p>I'm sorry that i wasted your time, i for sure wasted a lot :/</p>
<p>Still dont know why a customer doesn't receive his emails, i'm assuming the issue is not on redmines side.</p> Redmine - Defect #18383: An error occurred while sending mail (undefined method `error' for :log:Symbol)https://www.redmine.org/issues/18383?journal_id=599432014-11-22T09:41:02ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>OK, thanks for the feedback.</p>