Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delete e-mail from server using ReceiveMail
#3
Many thanks. I have already found it, Perfect!

Nevertheless, p.DeleteMessage(i) in the above example gives error. Therefore, I used the example given in QM "Email samples, namely :".


Macro temp2
Code:
Copy      Help
Pop3Mail pp.Connect(0x100 "...")
MailBee.Message mm; int i
for i 1 pp.p.MessageCount+1
,mm=pp.p.RetrieveSingleMessageHeaders(i 0) ;;this is MailBee.POP3 object's function
,out mm.Subject
,;pp.p.DeleteMessage(i) ;;use this to delete message from server
pp.Disconnect

Best Regards


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)