pear / Net_SMTP

PHP SMTP Implementation
https://pear.php.net/package/net_smtp
BSD 2-Clause "Simplified" License
26 stars 38 forks source link

Don't disconnect when message size exceeds server limit. #47

Closed alecpl closed 6 years ago

alecpl commented 7 years ago

I really see no reason to do this. It's also the only place where we disconnect on error.

alecpl commented 6 years ago

@jparise How about this PR of mine?

jparise commented 6 years ago

It looks like this has always been this way, since this feature was originally introduced in 0af0e9b02159546c7718bf7c78f33ab63462d741.

I agree that it's inconsistent with the other error conditions that are checked here, and some other SMTP implementations I checked don't appear to disconnect on this condition either.