Skip to content

add ability to delete parsed mail#34

Open
taoxuau wants to merge 1 commit intojcreigno:masterfrom
taoxuau:master
Open

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

Conversation

@taoxuau
Copy link
Copy Markdown

@taoxuau taoxuau commented Jul 11, 2017

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

Copy link
Copy Markdown

@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
Copy Markdown

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