SpringBoot生成的HTML生日贺卡在Outlook中格式错乱的问题求助
SpringBoot生成的HTML生日贺卡在Outlook中格式错乱的问题求助
我用Java写了一段生成HTML生日贺卡的代码,用来根据员工生日生成对应的贺卡内容。现在碰到个棘手的问题:用Thunderbird打开这封邮件时,格式完全没问题,但换成Outlook打开,布局就全乱套了。
以下是我写的部分代码:
public static String generateBirthdayHtml(String fullName) { String firstName = extractFirstName(fullName); System.out.println("First Name:"+firstName ); return "<html>\n" + "..."
备注:内容来源于stack exchange,提问作者Tanmoy
相关产品推荐
相关产品推荐

