How do I delete email messages in a mailbox using EWS?
There doesn't seem to be much online for it?
I'm planning an application and I need to know if it's possible and how to do it.
The Item class has a Delete method. You can open the message and then delete it.
http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.item.delete.aspx
Related
I was wondering if there is a way to automatically (or on a trigger) delete emails from a Google Group.
I use a Collaborative Inbox Group for archiving automated emails.
I looked at the Google Apps Script overview for Google Groups, but I don't see anything. It only seems like you can do this from GmailApp...
I also read this thread from 2012 but nothing helpful there
Answer:
Programmatically this isn't possible.
More Information:
The GroupsApp class of Apps Script only has read methods available for use - there is not a way of executing any write data using the class - for example deletion of emails.
Emails are sent to everyone in the group when a post is made (as per subscription settings). If you want the Email to be deleted then as you have already pointed out, you will need to use GmailApp to delete it from the recipients' inboxes.
In short: All mailbox manipulation must be done using the Gmail API (or GmailApp).
Feature Request:
You can however let Google know that this is a feature that is important for access to their APIs, and that you would like to request they implement it.
Google's Issue Tracker is a place for developers to report issues and make feature requests for their development services, I'd urge you to make a feature request there. The best component to file this under would be the Admin SDK component, with the Feature Request template.
I'm developing some service using Smooch.
I'd like to update ( or change ) specific message in conversation history.
Is it possible? If it is, how can I do that?
Thanks for all of your hint. :)
Unfortunately Smooch does not support editing a message in place. The nearest workarounds you have are:
You can delete a single message https://docs.smooch.io/rest/#delete-single-message
You can delete all of a user's messages (without deleting the user or their associated clients) https://docs.smooch.io/rest/#delete-all-messages
In uipath there is a get exchange messages activity. I can connect and download messages, however I'm unsure of the syntax for getting to a shared mailbox. Has anyone done this before?
I got around it by building a powershell script to do it, then calling it from uipath...
Unfortunately, in Exchange it's not possible to get the messages from a shared mailbox with UiPath Exchange activities but it's possible with Outlook activities.
I'm using Azure API Management and I have a user who tried to sign up but never got the "validation" email. Let's just assume the email is not recoverable. Unfortunately, I have no way to reset that user's email address. The API Management framework knows that the email already exists but I have no visibility to that user's profile until they validate the account. At that point I can manage their account but, until then, they are in-limbo.
If the user tries to re-sign up or even if I send an invite, we get an error that says. "Email already exist"
Any pointers?
The confirmation request will expire in 2 days, so if the user tries again after 2 days, the "email already exist" error should go away.
Meanwhile, we are currently working on a feature to allow Admins to delete unconfirmed users from the Management Console.
In addition to allowing admins to remove unconfirmed users we added the ability for users to re-send confirmation email.
I'm trying to drop Outlook from my MS Access application. The main problem is to fetch emails from my gmail account and for example delete it or read the body etc.
I know I can use CDO to send email from VBA using my gmail account, but is it possible to get my inbox using VBA?
Thanks.
I have found the solution. There is a library you can use to fetch emails from using IMAP or POP3 protocol via VBA http://emailarchitect.net/eagetmail/kb/vb.aspx
You would need some type of intermediate API call, such as an SMTP service, in order to accomplish this task. You would then be able to setup a CDO object through which to read/write messages.