Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delete a specific e-mail in server
#1
My question concerns deleting one-specific e-mail message from server after having retrieved them with ReceiveMail. More specifically, with :

ReceiveMail(acnt 0 "" 0 am)

one retrieves messages and stores the to array am.

Supposed, now, that one wishes to delete a specific message, for example item "i" in am, after having retrieved their headers from server, using ReceiveMail. Is there a simple - direct way to do it or he should go back retrieving messages by a MailBee routine and then deleting this specific message, using a type pp.p.DeleteMessage(i) statement.

Furthermore, I understand that using flag 2 with ReceiveMail, one deletes all retrieved messages.

Many thanks for any advice.
#2
Quote:Is there a simple - direct way to do it
No, use pp.p.DeleteMessage(i).
Delete e-mail from server using ReceiveMail
#3
Thank you very much.


Forum Jump:


Users browsing this thread: 1 Guest(s)