Jump to content
Server Maintenance This Week. ×

Email Plugin 3.1 - EmailReadMessages and mailboxes


This topic is 2103 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Me again, sorry.

 

This is an altered (I just altered attachments to be true) copy of the script in the demofile:

EmailReadMessages(

"progress="  &  EmailPlugin::Progress Bar;

"progressLocation=" & EmailPlugin::Progress Location;

"mailbox=INBOX" ;

"attachments=true" ;

"skip=" & EmailPlugin::Skip ;

"max=" & EmailPlugin::Max Fetch ;

"readonly=true" ; /* setting readonly to false will mark any fetched messages as viewed! */

 )

 

My question is how to write in the same script that I want the messages in INBOX.Sent Items and INBOX.Sendt post as well?

 

Edited by Dorthe
Link to comment
Share on other sites

The Email plugin does not have the ability to read from multiple mailboxes at a time. You will need to call EmailReadMessages for a mailbox, parse those emails and then call EmailReadMessages for a different mailbox and so on. I'd also recommend that you call EmailListMailboxes to get the names of the mailboxes from the mail server.

 

Link to comment
Share on other sites

14 hours ago, ryan360Works said:

The Email plugin does not have the ability to read from multiple mailboxes at a time. You will need to call EmailReadMessages for a mailbox, parse those emails and then call EmailReadMessages for a different mailbox and so on. I'd also recommend that you call EmailListMailboxes to get the names of the mailboxes from the mail server.

 

Thank you for replying.

Link to comment
Share on other sites

This topic is 2103 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.