【发布时间】:2013-04-04 00:15:20
【问题描述】:
我想从我的帐户使用 VBA 发送一封电子邮件,但它看起来是从其他用户发送的。有没有办法使用 Sentonbehalfofname,这样您就可以在没有访问权限的情况下包含您想要的任何文本字符串?
Set outlookapp = CreateObject("outlook.application")
msg = "Enter Message here"
subject = "Enter subject here"
Set item = outlookapp.createitem(0)
With item
.Sentonbehalfofname = "Yogi Bear"
谢谢,
【问题讨论】: