开发者

How to set spam email using EWS api?

I am developing an email client using EWS api. I know for each item(email), I can use Move function to move the item into a specific开发者_运维百科 folder. I noticed that in WellKnkownFolderName there is a JunkEmail. I wonder after is use Move function move that item into junkemail folder, does that mean the server will ban future emails coming from that sender?

 EmailMessage current = EmailMessage.Bind(service, id);
 current.Move(WellKnownFolderName.JunkEmail);//Does JunkEmail means spam? Or it is just a normal email folder as inbox, draft, sent etc


No, Exchange will not automatically move future emails to the junk folder based on this mail.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜