0
我想从我的帐户中使用VBA发送电子邮件,但似乎是从其他用户发送的。有没有办法使用Sentonbehalfofname,这样你就可以在没有访问权限的情况下包含任何你想要的文本字符串?可以在Sentonbehalfofname中使用文本字符串吗?
Set outlookapp = CreateObject("outlook.application")
msg = "Enter Message here"
subject = "Enter subject here"
Set item = outlookapp.createitem(0)
With item
.Sentonbehalfofname = "Yogi Bear"
感谢,