此示例代码来自Apache email API
Email email = new SimpleEmail();
email.setHostName("smtp.googlemail.com");
email.setSmtpPort(465);
email.setAuthenticator(new DefaultAuthenticator("username", "password"));
email.setSSLOnConnect(true);
email.setFrom("user@gmail.com");
email.setSubject("TestMail");
email.setMsg("This is a test mail ... :-)");
email.addTo("foo@bar.com");
email.send();
如果我在身份验证器中使用gmail帐户,则会将邮件保存在其远程smtp邮件服务器上。发送后是否可以避免或删除它?