Mercurial Hosting > luan
diff src/goodjava/mail/Smtp.java @ 1765:1ffe1e06ea55
SSL for port 465
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 26 May 2023 10:29:55 -0600 |
parents | e34b73678a4f |
children | 0eb615de1f80 |
line wrap: on
line diff
--- a/src/goodjava/mail/Smtp.java Mon May 22 20:43:52 2023 -0600 +++ b/src/goodjava/mail/Smtp.java Fri May 26 10:29:55 2023 -0600 @@ -24,7 +24,7 @@ String s = read(); if( !s.startsWith("220") ) throw new MailException(s); - write( "EHLO\r\n" ); + write( "EHLO whatever\r\n" ); ehlo = read(); if( !ehlo.startsWith("250") ) throw new MailException(ehlo);