开发者

not delete the message from email server using synapse in delphi

开发者 https://www.devze.com 2023-02-09 00:51 出处:网络
I am retrieving emails using synapse in delphi, but the messages are being deleted from the server. How can I retrieve the message without deleti开发者_Go百科ng it? Maybe the header only?

I am retrieving emails using synapse in delphi, but the messages are being deleted from the server. How can I retrieve the message without deleti开发者_Go百科ng it? Maybe the header only?

Thanks,

Joe


Are you sure emails are deleted, but you do not used pop3.Dele(i)?

I use POP3 with SSL and if I want to delete message then I had to use pop3.Dele(i). In Synapse wiki: http://synapse.ararat.cz/doku.php/public:howto:pop3samplessl there is my sample code to receive POP3 messages.

Maybe you use other protocol than POP3 then show us your code.


I have no hands-on experience with Synapse, but looking at the code (sourceforge trunk) you should be fine as long as you don't explicitly call the Dele method (which maps onto the DELE POP3 command). None of the other methods seems to delete the messages, including List and Retr.

How exactly are you retrieving those messages? Could you show some code?

0

精彩评论

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

关注公众号