Hello,
I've an email processing problem with ZP 4.0.7
I have a few hundred hotmail accounts to check for emails, so I made a template with a loop:
- take a line in table with login and password
- process mail with these variables. It checks just 1 time for email.
- if email is found, write login and password in a 'OK' file
- if not found, writes login and password in a 'KO' file
-> loop
regexp to find the email an extract datas is the same: word1|word2|word3
If first email is found, all is correct till there is an account without the email I search for. There, PM writes in the 'OK' file (but there is no email) and keeps the old value of the variable (ie. 'word2' if it founds 'word2' in the previous loop). After that, it always writes in the 'OK' file, with the same variable value ('word2'), even if there is no email or if the email containts another word.
If first email is not found, ZP writes always in the 'KO' file, with the same variable value (empty=''), even if there is an email.
I don't understand what's happening. I don't know if that's a bug, but it doesn't work as I expected...
Any idea?
PS:
I need a loop because I work with vpn and change IP automaticly at the beginning of the template (the change takes 15-30 seconds, a long time, thus I can't change IP at every check)
I've an email processing problem with ZP 4.0.7
I have a few hundred hotmail accounts to check for emails, so I made a template with a loop:
- take a line in table with login and password
- process mail with these variables. It checks just 1 time for email.
- if email is found, write login and password in a 'OK' file
- if not found, writes login and password in a 'KO' file
-> loop
regexp to find the email an extract datas is the same: word1|word2|word3
If first email is found, all is correct till there is an account without the email I search for. There, PM writes in the 'OK' file (but there is no email) and keeps the old value of the variable (ie. 'word2' if it founds 'word2' in the previous loop). After that, it always writes in the 'OK' file, with the same variable value ('word2'), even if there is no email or if the email containts another word.
If first email is not found, ZP writes always in the 'KO' file, with the same variable value (empty=''), even if there is an email.
I don't understand what's happening. I don't know if that's a bug, but it doesn't work as I expected...
Any idea?
PS:
I need a loop because I work with vpn and change IP automaticly at the beginning of the template (the change takes 15-30 seconds, a long time, thus I can't change IP at every check)