Mercurial Hosting > luan
diff src/goodjava/mail/Smtp.java @ 1686:e34b73678a4f
mail fix
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 08 Jun 2022 21:55:25 -0600 |
parents | d3728e3e5af3 |
children | 1ffe1e06ea55 |
line wrap: on
line diff
--- a/src/goodjava/mail/Smtp.java Wed Jun 08 20:13:54 2022 -0600 +++ b/src/goodjava/mail/Smtp.java Wed Jun 08 21:55:25 2022 -0600 @@ -47,6 +47,10 @@ if( name.equalsIgnoreCase("from") ) { from(value); } + } + for( Map.Entry<String,String> entry : msg.headers.entrySet() ) { + String name = entry.getKey(); + String value = entry.getValue(); if( name.equalsIgnoreCase("to") || name.equalsIgnoreCase("cc") || name.equalsIgnoreCase("bcc")