diff src/goodjava/mail/Examples.java @ 1829:0eb615de1f80

add mail helo
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 22 Sep 2024 20:05:54 -0600
parents 92860f763715
children d72a52232f79
line wrap: on
line diff
--- a/src/goodjava/mail/Examples.java	Sun Sep 15 19:51:16 2024 -0600
+++ b/src/goodjava/mail/Examples.java	Sun Sep 22 20:05:54 2024 -0600
@@ -12,7 +12,7 @@
 
 	private static Smtp newSmtp() throws IOException, MailException {
 		Socket socket = new Socket("smtpcorp.com",2525);
-		Smtp smtp = new Smtp(socket);
+		Smtp smtp = new Smtp(socket,"GoodJava");
 		smtp.authenticate("luan","luanhost2");
 		return smtp;
 	}