michaelwandel
9 years ago
Hi,

i simply want to delete a mail from exchange server, i already have the uidl so i simply need the commands to delete a specific mail from the server

Thanks
ivan
  • ivan
  • 100% (Exalted)
  • Administration
9 years ago
Hi,

What is the UIDL for ? POP3, IMAP4 or EWS protocol?

You can delete the email like this:

https://www.emailarchitect.net/eagetmail/sdk/?ct=mailclient_delete_a 

But if you have UIDL already and you don't want to retrieve the list again. you can create a new MailInfo object like this:


oClient.Connect ... 

Dim oInfo as New EAGetMailObjLib.MailInfo
oInfo.UIDL = "your uidl"

'if you used EWS protocol, you also need a value for change key
'oInfo.ChangeKey = "your changekey"

oClient.Delete oInfo
oClient.Quit

michaelwandel
9 years ago
Hi,

thanks, it seems to work, even that i don't use the changekey value for i don't know what it is used for ;-)

Thanks for the help 🙂

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.