简体   繁体   English

如何将发送到特定smtp地址的电子邮件计数提取

[英]How do I pull counts of email sents to a specific smtp address

I was asked to see if I could pull statistics on the volumne of email, and specifically the size of attachments sent from within my organization to a particular email address. 我被问到是否可以提取有关电子邮件数量的统计信息,尤其是从组织内部发送到特定电子邮件地址的附件的大小。

I work a lot with Exchange Web services but this seems like a more like a powershell through the Exchange shell type of situtation. 我与Exchange Web服务一起工作很多,但是通过Exchange Shell类型的情景,这看起来更像是一个Powershell。 Does anyone have any pointers on this? 有人对此有任何指示吗? I am comfortable with powershell but I am not familiar with the Exchange cmdlets. 我对Powershell感到满意,但对Exchange cmdlet并不熟悉。

I also asked this question on server fault as I was not sure what site would be most appropriate. 我还针对服务器故障询问了此问题,因为我不确定哪个站点最合适。

The first place I'd suggest trying to get this info from is the hub transport logs. 我建议尝试从中获取此信息的第一个地方是集线器传输日志。 Those only exist for 14 days by default so you may need to write a script that runs daily and exports the stats to a csv file or database. 默认情况下,它们仅存在14天,因此您可能需要编写每天运行的脚本并将统计信息导出到csv文件或数据库。

If you need to get data older than 14 days right now then take a look at: Search-Mailbox 如果您现在需要获取早于14天的数据,请查看: 搜索邮箱

Using the EWS approach many still be a viable route. 使用EWS方法,许多方法仍然是可行的。 Glen has been putting out some great stuff at: EWS Managed API and Powershell How-To series Part 1 Glen一直在以下方面发表一些出色的文章: EWS托管API和Powershell How-To系列第1部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM