如何更改 PeopleSoft 发送的电子邮件通知的 MIME 类型?

发布于 2024-08-11 18:26:03 字数 290 浏览 3 评论 0原文

我在一些 PeopleSoft 人员附近工作,他们询问如何更改 PeopleSoft 发送的电子邮件通知中的链接,使其友好,基本上他们只是想使用 HTML 锚点。

在与他们坐下来查看代码后,我发现所有电子邮件通知的默认 mime 类型都是文本/纯文本,并且似乎没有调用任何类型的电子邮件 API 来允许设置电子邮件通知的 mime 类型。正文到文本/html。此外,PeopleSoft 中似乎没有通用电子邮件配置,例如为所有电子邮件设置默认 mime 类型。

您知道如何在 PeopleSoft 中更改电子邮件的 MIME 类型吗?

I work near some PeopleSoft guys and they asked how to change a link in an email notification sent by PeopleSoft so that it is friendly, basically they just wanted the use of an HTML anchor.

After sitting down with them and looking through the code I found that the default mime type for all email notifications is text/plain and there does not seem to be any kind of an email API that is called which would allow setting the mime type of the body to text/html. Furthermore, there seems to be no general email configuration in PeopleSoft to, for example, set the default mime type for all emails.

Do you know how to change the mime type of an email in PeopleSoft?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心作怪 2024-08-18 18:26:03

假设工具8.49..
试试这个:

local PT_MCF_MAIL:MCFOutboundEmail &email;
&email = Create MCFOutboundEmail();

&email.From = "[email protected]";
&email.Recipients = "[email protected]";
&email.Subject = "Sample HTML Email";

&email.Text ="<html><body><H1><b>Hello World</b></H1></body></html>";

&email.ContentType = "text/html";

Local integer &result = &email.Send();

Assuming Tools 8.49..
Try this out:

local PT_MCF_MAIL:MCFOutboundEmail &email;
&email = Create MCFOutboundEmail();

&email.From = "[email protected]";
&email.Recipients = "[email protected]";
&email.Subject = "Sample HTML Email";

&email.Text ="<html><body><H1><b>Hello World</b></H1></body></html>";

&email.ContentType = "text/html";

Local integer &result = &email.Send();
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文