How can a read receipt be suppressed?

ⅰ亾dé卋堺 提交于 2019-12-01 17:05:25

问题


I am programmatically "reading" emails using WebDav. I am also deleting these emails when I've finished having my way with them, however, this is causing an interesting problem. Each time I delete an email the original sender is getting a not read response. I have logged into Outlook Web App and checked the option Do not automatically send a response but this doesn't seem to help.

Is there ANY way to remove the request for read receipt from the email before deleting it?


回答1:


We decided that we didn't want to make any modifications to our server and a solution that could be implemented in my existing program would be the most ideal.

I read on a few sites if the email was marked as read through IMAP commands on the exchange server that the read receipt would not be sent when deleted/opened via the client (Outlook Web App or Outlook). So that is what we did:

Logged into email server via IMAP

. LOGIN user@mailserver.com password

Selected the folder to process

. SELECT Inbox

Made the changes to all emails in the folder

. STORE 1:* flags \SEEN

This sequence marks all the emails in the inbox as read, which then allows my program to delete the emails after processing without a receipt being generated.



来源:https://stackoverflow.com/questions/1274388/how-can-a-read-receipt-be-suppressed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!