mirror of
https://github.com/moparisthebest/k-9
synced 2025-03-03 01:51:49 -05: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:
parent
a145d3c616
commit
2c406a58b0
@ -330,6 +330,14 @@ public class SmtpTransport extends Transport
|
||||
|
||||
public void close()
|
||||
{
|
||||
try
|
||||
{
|
||||
executeSimpleCommand("QUIT");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
}
|
||||
try
|
||||
{
|
||||
mIn.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user