如何格式化电子邮件中的字符串以便 Outlook 打印换行符? [英] How do I format a String in an email so Outlook will print the line breaks?

查看:31
本文介绍了如何格式化电子邮件中的字符串以便 Outlook 打印换行符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试用 Java 发送电子邮件,但是当我在 Outlook 中阅读电子邮件正文时,它已经去掉了我所有的换行符.我将 放在行尾,但除此之外我还需要做些什么特别的事情吗?接收者将始终使用 Outlook.

I'm trying to send an email in Java but when I read the body of the email in Outlook, it's gotten rid of all my linebreaks. I'm putting at the ends of the lines but is there something special I need to do other than that? The receivers are always going to be using Outlook.

我在 microsoft.com 上发现了一个页面,上面写着 Outlook 中有一个删除换行符"功能",这是否意味着除了取消选中该设置之外,没有其他解决方案可以解决这个问题?

I found a page on microsoft.com that says there's a 'Remove line breaks' "feature" in Outlook so does this mean there's no solution to get around that other than un-checking that setting?

谢谢

推荐答案

您需要使用 作为解决方案.

You need to use as a solution.

这篇关于如何格式化电子邮件中的字符串以便 Outlook 打印换行符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆