Commit Graph
2 Commits
Author SHA1 Message Date
dualfroz 0825c8cc83 Don't send QUIT while DATA is in progress
If the connection is closed in the middle of a DATA command, for example
from a destructor after SIGTERM, the server takes QUIT as part of the
message and the connection only ends when it times out. SMTP now keeps
the last command it sent in a state property, and quit() just closes the
connection when that command is DATA, as discussed in #3121.

Fixes #2994
2026-10-02 16:51:33 +02:00
upstream a1bc7fa8d1 Upstream PHPMailer/PHPMailer state of the touched files before b1849ac763 2026-10-02 16:51:33 +02:00