Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Mailer] SMTP transport creates too many NOOP commands #35515

Copy link
Copy link
Closed
@micheh

Description

@micheh
Issue body actions

When using the SMTP transport for the Mailer component, it can be difficult to send many emails within the same SMTP session.

The problem is that the transport will ping the server (send a NOOP command) before every email:

This is fine if you send only a couple of emails, but may lead to problems when sending more than 10 emails, as SMTP servers usually will drop the connection with too many nonmail commands (like NOOP).

A potential workaround is to call setRestartThreshold in order to restart the connection after a specified number of mails was sent (e.g. 10). But maybe it is a better idea to not ping the server before every email?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.