Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ability to delete parsed mail #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taoxuau
Copy link

@taoxuau taoxuau commented Jul 11, 2017

A small change for my convenience but maybe you're happy with that.

Copy link

@gustawdaniel gustawdaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I like mark delete but please add documentation.

@DigitalLeaves
Copy link

DigitalLeaves commented Apr 27, 2020

Hello,
First of all, thanks for this fantastic library and thanks @gustawdaniel for this addition. Very useful indeed.

Is this feature actually added and working? I tried it today and the messages remain in the inbox folder. This is my configuration:

const imap = {
  user: env.email.automation.user,
  password: env.email.automation.password,
  host: env.email.automation.host,
  port: env.email.automation.port,
  tls: true, 
  tlsOptions: { rejectUnauthorized: false },
  markDeleted: true,
  autoExpunge: true
};

However, I configured the account in an email client and the messages remain there... I see only "Seen" flag added:
flags: [ '\\Seen' ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants