<i id='x91fv'><tr id='x91fv'><dt id='x91fv'><q id='x91fv'><span id='x91fv'><b id='x91fv'><form id='x91fv'><ins id='x91fv'></ins><ul id='x91fv'></ul><sub id='x91fv'></sub></form><legend id='x91fv'></legend><bdo id='x91fv'><pre id='x91fv'><center id='x91fv'></center></pre></bdo></b><th id='x91fv'></th></span></q></dt></tr></i><div id='x91fv'><tfoot id='x91fv'></tfoot><dl id='x91fv'><fieldset id='x91fv'></fieldset></dl></div>
    1. <tfoot id='x91fv'></tfoot>

      <legend id='x91fv'><style id='x91fv'><dir id='x91fv'><q id='x91fv'></q></dir></style></legend>
        <bdo id='x91fv'></bdo><ul id='x91fv'></ul>

      <small id='x91fv'></small><noframes id='x91fv'>

        带有队列 550 错误的 Laravel 电子邮件(每秒电子邮件太多)

        时间:2024-08-23

          <legend id='iut3z'><style id='iut3z'><dir id='iut3z'><q id='iut3z'></q></dir></style></legend>
            <bdo id='iut3z'></bdo><ul id='iut3z'></ul>

          • <small id='iut3z'></small><noframes id='iut3z'>

            • <tfoot id='iut3z'></tfoot>

                1. <i id='iut3z'><tr id='iut3z'><dt id='iut3z'><q id='iut3z'><span id='iut3z'><b id='iut3z'><form id='iut3z'><ins id='iut3z'></ins><ul id='iut3z'></ul><sub id='iut3z'></sub></form><legend id='iut3z'></legend><bdo id='iut3z'><pre id='iut3z'><center id='iut3z'></center></pre></bdo></b><th id='iut3z'></th></span></q></dt></tr></i><div id='iut3z'><tfoot id='iut3z'></tfoot><dl id='iut3z'><fieldset id='iut3z'></fieldset></dl></div>
                    <tbody id='iut3z'></tbody>
                  本文介绍了带有队列 550 错误的 Laravel 电子邮件(每秒电子邮件太多)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我们的电子邮件无法使用带有 Redis 队列的 Laravel 发送.

                  Our emails are failing to send using Laravel with a Redis Queue.

                  触发错误的代码是这样的:->onQueue('emails')

                  The code that triggers the error is this: ->onQueue('emails')

                  $job = (new SendNewEmail($sender, $recipients))->onQueue('emails');
                  $job_result = $this->dispatch($job);
                  

                  结合这个在工作中:

                  use InteractsWithQueue;
                  

                  我们的错误信息是:

                  Feb 09 17:15:57 laravel: message repeated 7947 times: [ production.ERROR: exception 'Swift_TransportException' with message 'Expected response code 354 but got code "550", with message "550 5.7.0 Requested action not taken: too many emails per second "' in /home/laravel/app/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:383 Stack trace: #0 /home/laravel/app/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(281): 
                  

                  我们的错误只发生在使用 Sendgrid 而不是 Mailtrap 时,它会欺骗电子邮件发送.我已经和 Sendgrid 谈过了,当我发生错误时,电子邮件从未接触过他们的服务器,而且他们的服务完全处于活动状态.所以,错误似乎就在我身上.

                  Our error only happens using Sendgrid and not Mailtrap, which spoofs emailing sending. I've talked with Sendgrid and the emails never touched their servers and their service was fully active when my error occurred. So, the error appears to be on my end.

                  有什么想法吗?

                  推荐答案

                  好像只有 Mailtrap 发送这个错误,所以要么开设另一个帐户或升级到付费计划.

                  Seems like only Mailtrap sends this error, so either open another account or upgrade to a paid plan.

                  这篇关于带有队列 550 错误的 Laravel 电子邮件(每秒电子邮件太多)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Gmail SMTP 在 ec2 实例中不起作用 下一篇:如何向 PHP 指定应该使用外部邮件服务器发送 mail()?

                  相关文章

                  <legend id='uqtRV'><style id='uqtRV'><dir id='uqtRV'><q id='uqtRV'></q></dir></style></legend>
                  1. <tfoot id='uqtRV'></tfoot>

                      <bdo id='uqtRV'></bdo><ul id='uqtRV'></ul>
                    1. <small id='uqtRV'></small><noframes id='uqtRV'>

                      <i id='uqtRV'><tr id='uqtRV'><dt id='uqtRV'><q id='uqtRV'><span id='uqtRV'><b id='uqtRV'><form id='uqtRV'><ins id='uqtRV'></ins><ul id='uqtRV'></ul><sub id='uqtRV'></sub></form><legend id='uqtRV'></legend><bdo id='uqtRV'><pre id='uqtRV'><center id='uqtRV'></center></pre></bdo></b><th id='uqtRV'></th></span></q></dt></tr></i><div id='uqtRV'><tfoot id='uqtRV'></tfoot><dl id='uqtRV'><fieldset id='uqtRV'></fieldset></dl></div>