Jump to content
UBot Underground

Recommended Posts

when you connect to email, you need to create a table (inside the connection node). The parameter for deleting emails is based on the table rows which are 0 based. So if you want to delete the first row(1st email) then the position is 0...2nd email, the position is 1, etc.

 

 

John

Link to post
Share on other sites

Are you trying to delete all the emails, or just a specific email? (you don't need table total rows, or set variables)

 

John

Link to post
Share on other sites

no...you add a loop, using table total rows (sorry I wasn't thinking about the loop when I answered)...then drag in a delete emails and use position 0. It will loop through the table deleting the first email until all are deleted.

 

 

John

  • Like 1
Link to post
Share on other sites
  • 6 months later...
no...you add a loop, using table total rows (sorry I wasn't thinking about the loop when I answered)...then drag in a delete emails and use position 0. It will loop through the table deleting the first email until all are deleted.

 

 

John

 

@John... so is it in fact supposed to delete only the email in position #0?...

 

I did try to delete an email from another row in the table and it doesn't work.

 

I see the thread is kinda old~ish but I have also seen other people having the same issue still today.

 

So is this working or not?

 

Anyone has some input/experience?

Link to post
Share on other sites
  • 2 months later...

Ok i just did this and it's not working.

 

connect to mail server("IMAP With SSL", #username, #password, "imap.gmail.com", 993) {
    loop($list total(%emails to delete)) {
        delete email($next list item(%emails to delete))
    }
}

%emails to delete populated

Debugger:

(0): 2

(1): 15

(2): 23

 

Noticed that %emails to delete list, picked up exactly the emails i wish to delete but it's not deleting them.

What am i missing in my setup ?

 

ERROR:

Lenght cannot be less than zero.

Parameter name: lenght

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...