HTML:在电子邮件主题中插入换行符,例如%20是空格? [英] HTML: insert line-break in email subject like %20 is a space?

查看:304
本文介绍了HTML:在电子邮件主题中插入换行符,例如%20是空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

BreakHere ...

BreakHere…

我想知道是否可以写出像%20 (代表一个空间)也是一样。所以我想要在我的电子邮件中分开一行。

I wonder if it is possible to write something like %20 (which stands for a space) for a line-break as well. So I want to have seperate lines in my body of the e-mail.

任何想法?

推荐答案

您应该使用回车%0D 和换行符%0A

You should use a carriage return %0D and line feed %0A

<a href="mailto:endpointadress@something.com?cc=endpointadress2@something.com&subject=your subject&body=Text before new line.%0D%0AText after new line.">create email</a>

这是在 RFC2368 ,是生成换行符的唯一有效方法。

This is defined in RFC2368 and is the only valid method of generating a line-break.

这篇关于HTML:在电子邮件主题中插入换行符,例如%20是空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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