#2678 - Re-use SMTP connection during script

Identifier #2678
Issue type Feature request or suggestion
Title Re-use SMTP connection during script
Status Completed
Tags

Type: Performance (custom)

Handling member Chris Graham
Addon core
Description Rather than opening a new SMTP connection for each bunch of mails sent to mail_wrap, keep it open once opened, until script end. That saves connection setup and re-authentication in the case of bulk sending emails.

We need a config option that says the maximum number of messages to send over a connection before re-opening it (as some providers have limits).
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated