Skip to content

add ability to delete parsed mail - #34

Open
taoxuau wants to merge 1 commit into
jcreigno:masterfrom
taoxuau:master
Open

add ability to delete parsed mail#34
taoxuau wants to merge 1 commit into
jcreigno:masterfrom
taoxuau:master

Conversation

@taoxuau

@taoxuau taoxuau commented Jul 11, 2017

Copy link
Copy Markdown

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

@gustawdaniel gustawdaniel left a comment

Copy link
Copy Markdown

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

DigitalLeaves commented Apr 27, 2020

Copy link
Copy Markdown

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