Denethor 1 Posted May 23, 2019 Report Share Posted May 23, 2019 Using the built in email verifier the script crashes randomly with this error.simple code, so not much to debug on my end. connect to mail server("IMAP With SSL","userremoved@gmail.com","passwordremoved","imap.gmail.com",993) { verify emails("Love .*","https://.*","Processed Verification Emails") } So it logs in successfully to gmail, downloads all the email headers (hundreds match the query above) and looks for any with a subject that starts with "Love " and any thing after it (the .* wildcard). If it finds a subject that matches it clicks the first link it finds (the only one in the email) that starts "https://"Then it deletes the email once it has been clicked. Sometimes it processes one email and craps out with the error, sometimes it does 50 or more before it throws the error."length cannot be less than zero. Parameter name: length"The function is pretty useless if it doesn't work and it can't recover from an error. Any thoughts on what "length" its looking for? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.