Skip to content

Loop on mail error #31

@elpoleto

Description

@elpoleto

Hello. i use MS Azure as smtp and when some errors occour the sneaker jump in a infinite loop of errors tring to sends mails, for example:

Expected response code 250 but got code "432", with message "432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded [Hostname=DB6PR0901MB0790.eurprd09.prod.outlook.com]^M
" {"exception":"[object] (Swift_TransportException(code: 432): Expected response code 250 but got code "432", with message "432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded .....

or

Expected response code 250 but got code "554", with message "554 5.2.0 STOREDRV.Submission.Exception:SubmissionQuotaExceededException; Failed to process message due to a permanent exception with message The message can't be submitted because the sender's submission quota was exceeded. SubmissionQuotaExceededException: The message can't be submitted because the sender's submission quota was exceeded.

my config capture is
'capture' => [ Symfony\Component\Debug\Exception\FatalErrorException::class, ],

but it goes in infinite loop

Any way to avoid that please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions