Rank: Newbie
Groups: Registered
Joined: 3/21/2016(UTC)
Posts: 6
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
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi,
What is the UIDL for ? POP3, IMAP4 or EWS protocol?
You can delete the email like this:
https://www.emailarchite.../?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:
Code:
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
Rank: Newbie
Groups: Registered
Joined: 3/21/2016(UTC)
Posts: 6
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 :)
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.