|
@@ -179,7 +179,7 @@ public class EmailUtil {
|
|
|
try{
|
|
|
logger.info(contentType+"========================"+html);
|
|
|
if(contentType.indexOf("charset=") != -1){
|
|
|
- contentType = contentType.substring(contentType.indexOf("charset=")+8,contentType.length());
|
|
|
+ contentType = contentType.substring(contentType.indexOf("charset=")+8,contentType.length()).replaceAll("\"","");
|
|
|
logger.info(contentType+"========================"+"charset="+contentType.toLowerCase());
|
|
|
html = html.replace("charset="+contentType.toLowerCase(),"charset=UTF-8");
|
|
|
html = html.replace("charset="+contentType.toUpperCase(),"charset=UTF-8");
|