https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-07-12T08:14:26ZRedmineRedmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396052012-07-12T08:14:26ZEtienne Massip
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/39605/diff?detail_id=29128">diff</a>)</li></ul><p>Typo.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396102012-07-12T08:56:50ZEtienne Massip
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/39610/diff?detail_id=29133">diff</a>)</li></ul> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396172012-07-12T09:41:37ZSepp _
<ul></ul><p>Tested, works ;-)</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396462012-07-13T12:26:34ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Actually, it works fine if you use:</p>
<pre>
development:
email_delivery:
delivery_method: :async_smtp
async_smtp_settings:
...
</pre> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396482012-07-13T13:29:42ZEtienne Massip
<ul></ul><p>It's a bit weird and still may be considered as a regression since it used to work with <code>smtp_settings</code>, should I consider this issue as solved or is it worth it adding the aliases?</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396522012-07-13T14:11:30ZEtienne Massip
<ul></ul><p>Please also note that Rails 4 will handle an <code>async</code> property directly in the AM instance so the Async* delivery methods might be dropped, see <a class="external" href="http://reefpoints.dockyard.com/ruby/2012/06/26/rails-4-sneak-peek-async-actionmailer.html">http://reefpoints.dockyard.com/ruby/2012/06/26/rails-4-sneak-peek-async-actionmailer.html</a>.</p>
<p>Not tomorrow, I agree.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=396882012-07-14T09:37:40ZKrisztian Kocsis
<ul></ul><p>It is still not working for me even if I rename smtp stuff to async_smtp, please check <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: No mail notifications sent after upgrade (Closed)" href="https://www.redmine.org/issues/11337">#11337</a>.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=397572012-07-16T19:03:08ZEtienne Massip
<ul><li><strong>File</strong> <a href="/attachments/7953">async_parameter.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/7953/async_parameter.patch">async_parameter.patch</a> added</li></ul><p>What would you think of turning this into a FR and applying this patch which deprecates <code>async_*</code> delivery methods in favor of a "Rails 4" style <code>AM</code> <code>async</code> property?</p>
<p>BTW, please notice that the <code>AM#deliver!</code> override seems to not be called anymore (<a href="/builds/coverage/app-models-mailer_rb.html#line302">and coverage says the same</a>) which may explain the lack of error logging.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=398142012-07-18T09:18:14Zxuelin ma
<ul></ul><p>I have the same problem with you and I am so confused about this.<br />Can you tell me how to solve this problem? <br />Thanks!</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=398162012-07-18T09:30:25ZEtienne Massip
<ul></ul><p>Replace <code>smtp_settings</code> with <code>async_smtp_settings</code> in your <code>configuration.yml</code> file if you're using <code>async_smtp</code> method.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=411782012-09-25T17:57:49ZBruno Medeiros
<ul></ul><p>I had the same problem and wasted a lot of time. Is it documented somewhere? If it's not, it should. Please point me the right place and I can write some lines about it.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=411792012-09-25T18:05:16ZBruno Medeiros
<ul></ul><p>In my case my emails didn't stop being sent, it was a more subtle problem. As I have sendmail configured properly on my machine, the mail messages started to be filtered as spam on some receivers. The headers looked like:</p>
<p>async_smtp:<br /><pre>
Received: from localhost.localdomain ([200.150.yyy.zzz])
</pre></p>
<p>smtp:<br /><pre>
Received: from hm6756-32.xxxxxxxxxx.com.br (hm6756-32.xxxxxxxxxxx.com.br. [201.76.yyy.zzz])
</pre></p>
<p>After change <code>smtp_settings</code> to <code>async_smtp_settings</code>, everything is ok.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=414262012-10-02T19:01:54ZAndrei C.
<ul></ul><p>Can anybody help me? (Redmine 2.1.2)</p>
<p>After change smtp_settings to async_smtp_settings, i don't receive any email from Redmine.</p> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=430612012-11-25T10:00:55ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Closed</i></li><li><strong>Target version</strong> deleted (<del><i>Candidate for next minor release</i></del>)</li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Closing it. The proper configuration for using asynchronous SMTP is:</p>
<pre><code class="yaml syntaxhl"><span class="na">production</span><span class="pi">:</span>
<span class="na">email_delivery</span><span class="pi">:</span>
<span class="na">delivery_method</span><span class="pi">:</span> <span class="s">:async_smtp</span>
<span class="na">async_smtp_settings</span><span class="pi">:</span>
<span class="na">address</span><span class="pi">:</span> <span class="s2">"</span><span class="s">localhost"</span>
<span class="s">...</span>
</code></pre> Redmine - Defect #11376: Asynchronous email notifications aren't senthttps://www.redmine.org/issues/11376?journal_id=436362012-12-25T17:29:40ZMiodrag Milic
<ul></ul><p>This was nowhere in documentation and even some Redmine experts published it wrong. I updated the adequate page with this info <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/EmailConfiguration#Asynchronous-delivery_methods">EmailConfiguration</a></p>