diff src/goodjava/mail/Examples.java @ 1587:fa1a9aceac3e

mail work
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 12 Mar 2021 23:22:53 -0700
parents c0ef8acf069d
children aed284cae1f0
line wrap: on
line diff
--- a/src/goodjava/mail/Examples.java	Fri Mar 12 20:12:43 2021 -0700
+++ b/src/goodjava/mail/Examples.java	Fri Mar 12 23:22:53 2021 -0700
@@ -42,7 +42,7 @@
 		headers.put("From","smtp@luan.software");
 		headers.put("To","fschmidt@gmail.com");
 		headers.put("Subject","test text");
-		headers.put("Content-Type","text/plain; charset=utf-8");
+//		headers.put("Content-Type","text/plain; charset=utf-8");
 		Message msg = new Message(headers,text);
 		Smtp smtp = newSmtp();
 		smtp.send(msg);
@@ -124,6 +124,6 @@
 	}
 
 	public static void main(String[] args) throws Exception {
-		multi();
+		mailText();
 	}
 }