MailItem.To是空的? [英] MailItem.To is empty?

查看:115
本文介绍了MailItem.To是空的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果客户使用我的mailaddress在BCC字段中发送电子邮件(TO字段为空),那么如果我打开mailitem,TO和BCC是空的,因为我的用户有几个收件箱,我的AddIn可以告诉客户将其发送到哪个收件箱。

If a customer sends emails me with my mailaddress in the BCC field (the TO field is empty), then if I open the mailitem, TO and BCC is empty and since my users have several inboxes, my AddIn can't tell which inbox the customer sent it to.

当我的客户使用时,如何获取客户通过电子邮件发送给我的电子邮件地址BCC而不是TO?

How do I get the emailaddress that my customer emailed me at, when my customer used BCC instead of TO?

谢谢。

推荐答案

Hello Mojo,

Hello Mojo,

你可以查看
收件人
集合,请参阅 MailItem 类的相应属性。每个

收件人
对象提供Type属性: olBCC
olCC
olOriginator olTo

You can check out the Recipients collection, see the corresponding property of the MailItem class. Each Recipient object provides the Type property: olBCC, olCC, olOriginator, or olTo.

您也可能对
发件人
属性。它返回或设置
AddressEntry
对应于
MailItem 已发送。

Also you may be interested in the Sender property of the MailItem class. It returns or sets an AddressEntry object that corresponds to the user of the account from which the MailItem is sent.


这篇关于MailItem.To是空的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆