mirror of https://github.com/moparisthebest/k-9
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…
Reference in New Issue