Skip to content

Tag: email

What is the deleted folder name link for Outlook?

I have a code snippet for deleting emails from Gmail. But I need to change that line store.getFolder(“[Gmail]/Trash”); to work with the Outlook server. What is the deleted(trash) folder name link for Outlook? Answer In Outlook, there are two options: So you could use [Outlook]/Deleted Items or [Ou…

Java Scheduler to Mail

Given that I have two scheduled component classes uploading files respectively. I created a sending email method for each of them in order to send a reminder email to myself in case any uploading exceptions happened. the flow like this: Scheduler One — if exception during uploading —> sending a…