【问题标题】:Zoho Deluge : How can I insert line breaks or start a new line to e-mail message?Zoho Deluge:如何在电子邮件消息中插入换行符或开始新行?
【发布时间】:2019-02-08 05:26:11
【问题描述】:

我正在尝试使用 Zoho 自定义功能发送电子邮件。现在需要在我的电子邮件中插入换行符。 我尝试通过\n 但它不起作用

sendmail
    [
        from: "email@gmail.com"
        to: "email@gmail.com"
        subject: Subject
        message: "Hello, \nThe Name has been updated to the stage. Below is a link to the record for more details:\n link \nRegards, \nBRKTHRU"
    ]

谢谢

【问题讨论】:

标签: zoho


【解决方案1】:

找到解决办法

消息可以以“纯文本”或“HTML”形式发送。如果内容是 HTML,则使用
标签,如果内容类型是“纯文本”,则使用 \n。例如

sendmail
[
    To       :  zoho.loginuserid 
    From     :  zoho.adminuserid 
    Subject  :  "To insert line breaks" 
    Message  :  "Dear Customer, "+ "<br>Your order has been processed"
]

得到Zoho help link的答复

【讨论】:

    【解决方案2】:

    您必须使用 HTML。尝试插入一些 &lt;br&gt;&lt;br&gt; 而不是 \n

    【讨论】:

      猜你喜欢
      • 2013-02-02
      • 2012-09-20
      • 1970-01-01
      • 2020-04-05
      • 2013-08-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-19
      • 2014-03-19
      相关资源
      最近更新 更多