更改发件人电子邮件地址 - WebDav

发布于 2024-10-20 17:56:14 字数 314 浏览 3 评论 0 原文

我编写了一个使用 WebDav 协议发送电子邮件的应用程序,如下所示 链接。这工作得很好,但是似乎有一个限制,即 FROM 电子邮件地址必须与发送电子邮件的实际交换用户帐户相对应。

我想知道的是是否可以将 FROM 地址设置为我选择的其他电子邮件地址,而不是像使用 SMPT 协议那样链接到我的 Exchange 帐户的电子邮件地址。

I have written an application to send an email using the WebDav protocol as shown in the following link. This works perfectly, however there seems to be a limitation that the FROM email address must correspond with the actual exchange user account that the email is sent from.

What I want to know is whether it is possible to set the FROM address to be a miscellaneous email address of my choice, rather than the email address linked to my exchange account like you can do with the SMPT protocol.

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

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

发布评论

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

评论(1

依 靠 2024-10-27 17:56:14

在 WebDav 中,您可以将 FROM 地址设置为与您的 Exchange 帐户关联的电子邮件地址被授予“代表发送”权限的用户的任何地址。

即如果您想从您的交易账户“助理”代表用户“经理”发送邮件,您必须先将“经理”账户的“代表发送”权限授予“助理”账户。为此,请参阅 http://www.msexchange.org/tutorials/Sending- As.html。之后,您可以将FROM地址设置为“经理”帐户的地址,并从“助理”交换帐户发送电子邮件。

 strText = "From: " & <address of manager> & vbNewLine & _
            "To: " & strTo & vbNewLine & _ 

In WebDav, you can set the FROM address with any address of users whose "Send On behalf" permission is granted to the email address linked to your exchange account.

i.e If you want to send an email from your exchange account "assistant" on behalf of user "manager", you must first grant "Send On behalf" permission of "manager" account to "assistant" account. To do that, please refer to http://www.msexchange.org/tutorials/Sending-As.html. After that, you can set the FROM address with the address of "manager" account and send email from "assistant" exchange account.

 strText = "From: " & <address of manager> & vbNewLine & _
            "To: " & strTo & vbNewLine & _ 
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文