1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

When disconnecting from an SMTP server, send a quit command to be a

better internet citizen. Fixes Issue 1044.
This commit is contained in:
Jesse Vincent 2010-01-19 02:20:24 +00:00
parent a145d3c616
commit 2c406a58b0

View File

@ -330,6 +330,14 @@ public class SmtpTransport extends Transport
public void close()
{
try
{
executeSimpleCommand("QUIT");
}
catch (Exception e)
{
}
try
{
mIn.close();