comparison src/goodjava/mail/Examples.java @ 1787:aed284cae1f0

fix msys2 build
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 12 Dec 2023 19:15:29 -0700
parents fa1a9aceac3e
children 92860f763715
comparison
equal deleted inserted replaced
1786:bda4ec615c5b 1787:aed284cae1f0
33 33
34 private static void mailText() throws IOException, MailException { 34 private static void mailText() throws IOException, MailException {
35 String text = "" 35 String text = ""
36 +"testm 2\n" 36 +"testm 2\n"
37 +"x\n" 37 +"x\n"
38 +"产品\n" // some random chinese
39 +"rg; ;lrg dsl rgj errlgerrg neskrjg skrg rdsg drskrg sd;gr s;kgr skrg skrg sdg ds fg;ks gegr erg ;sg sd; g;sdr gsklrg sg s;kkrg s;hg ;slrg ;elrg ;reg r;g ;r g;er g;ler g;e g; g;r g rg; srkd fjl kj kklsjrg lsk gskdf;rs gkrj glj grekjs lksjgkjn kjslg rklrg ;rsd; kj drsg akrglk kalrgklrsdnrgkgj;r ;s ns b;n;sn ;njslk r;n\n" 38 +"rg; ;lrg dsl rgj errlgerrg neskrjg skrg rdsg drskrg sd;gr s;kgr skrg skrg sdg ds fg;ks gegr erg ;sg sd; g;sdr gsklrg sg s;kkrg s;hg ;slrg ;elrg ;reg r;g ;r g;er g;ler g;e g; g;r g rg; srkd fjl kj kklsjrg lsk gskdf;rs gkrj glj grekjs lksjgkjn kjslg rklrg ;rsd; kj drsg akrglk kalrgklrsdnrgkgj;r ;s ns b;n;sn ;njslk r;n\n"
40 ; 39 ;
41 Map<String,String> headers = new LinkedHashMap<String,String>(); 40 Map<String,String> headers = new LinkedHashMap<String,String>();
42 headers.put("From","smtp@luan.software"); 41 headers.put("From","smtp@luan.software");
43 headers.put("To","fschmidt@gmail.com"); 42 headers.put("To","fschmidt@gmail.com");