Hello, i created accounts on 140 sites and got 140 emails.
I'm building an email processing template now. The regular expressions are working fine.
I get: Url;Login;Password and it is saved into a file.
The problem is: It only worked for one email and ALL emails are deleted???
What can i do?
--------------------------------------------------------------------------------------------------------------------------------------------
Multiple email processing
Ok guys, i'll show you what i did to make multiple email processing possible. And you will find my example template too.
1. I created a template that registers me on 120 Social Bookmarking sites (it's possible because those sites use the same bookmark script, i.e. they are very similar to each other). This template stores the data in a file named accounts.txt in the following format:
URL;Username;
URL;Username;
...
...
2. At first you need a specific regular expression to find a specific email. You can build one in the regular expressions builder. If you have a regular expression that parses more than one email, you have done something wrong. You need to find a RegExp that parses ONLY 1 email.
In in my case the only thing that was specific for all emails was the "domain.com". It can be found somewhere in every email. So i take the first URL from my accounts.txt with deletion, configure the URL in a second branch to get the result "domain.com" and take this execution result to find the specific email i got from that site.
For that i created a "work with mail" step and inserted the execution result in the "for identification field". So with every new loop i get a different URL, i.e. a different email.
3. It is not necessary to activate the account on these sites. Instead it is necessary to get the password from the email because it is not possible to choose one during registration. There is a randomly generated password in every email after successful registration and i need it to log into my accounts and bookmark my sites.
So i logged into my email account in the emailprocessing tab and searched for the passwords. They are always in the following format:
Passwort: <STRONG>123456</STRONG>
Always 6 digits. It's easy to create a regular expression for this in the regular expression builder. This was the expression i used:
(?<=Passwort: \<STRONG\>).*(?=\<\/STRONG\>)
However some emails sent the password in the following format for spam protection:
Passwort: <STRONG>[spamprotection]123456</STRONG>
So i had to deal with two cases. I asked the support and they gave me the following expression:
(\d+){6}(?=\<\/STRONG\>)
With that it's possible to get the password even if they use spam protection.
4. So now i have the second expression that is needed. Below the "for identification" field you will find a + button. Click on it and use this regular expression there.
Some emails contain the password in html, some emails contain it in text.
So i created a second "work with mail" step. Now i have one step to parse html and one step to parse text from emails if the password isn't found in html.
5. I created a field that checks if the password is greater than 1. Since the password always consists of 6 digits it has to be greater than 1. If it's not greater than one the password wasn't found.
6. Now i can save my password and the loop starts again with the second string in my accounts.txt.
So in short words.
You need one RegExp to find ONE email and one RegExp to find the required text in that email. You can also use more than one RegExp to find passwords AND usernames for example.
1. U need a file of footprints. With that footprints you are able to find ONE specific email. (In my case the footprints are in the accounts.txt)
2. You need a regular expression to get the required information from your email.
3. Start the loop again with the next footprint from your file to process the next email.
You can also do the email processing part within your account creation template, then you can use your execution results to find specific emails.
But i think it's better to create all accounts first. Wait one hour. Move all emails from the spam folder in the Inbox and then do mass email processing with a different template.
Maybe it's not that easy to understand so if you have any questions ask them here, i'll try to help.
Here you can find my template. It should help you to understand what i said, but i think it is to complicated to modify it for other sites. So better start from scratch
Посмотреть вложение EmailProcessing.xml
PS: I recommend safe-mail.net to build your email processing template since you have more than one try to make everything right. ZP deletes all emails but safe-mail.net is able to forbid email deletion.
I'm building an email processing template now. The regular expressions are working fine.
I get: Url;Login;Password and it is saved into a file.
The problem is: It only worked for one email and ALL emails are deleted???
What can i do?
--------------------------------------------------------------------------------------------------------------------------------------------
Multiple email processing
Ok guys, i'll show you what i did to make multiple email processing possible. And you will find my example template too.
1. I created a template that registers me on 120 Social Bookmarking sites (it's possible because those sites use the same bookmark script, i.e. they are very similar to each other). This template stores the data in a file named accounts.txt in the following format:
URL;Username;
URL;Username;
...
...
2. At first you need a specific regular expression to find a specific email. You can build one in the regular expressions builder. If you have a regular expression that parses more than one email, you have done something wrong. You need to find a RegExp that parses ONLY 1 email.
In in my case the only thing that was specific for all emails was the "domain.com". It can be found somewhere in every email. So i take the first URL from my accounts.txt with deletion, configure the URL in a second branch to get the result "domain.com" and take this execution result to find the specific email i got from that site.
For that i created a "work with mail" step and inserted the execution result in the "for identification field". So with every new loop i get a different URL, i.e. a different email.
3. It is not necessary to activate the account on these sites. Instead it is necessary to get the password from the email because it is not possible to choose one during registration. There is a randomly generated password in every email after successful registration and i need it to log into my accounts and bookmark my sites.
So i logged into my email account in the emailprocessing tab and searched for the passwords. They are always in the following format:
Passwort: <STRONG>123456</STRONG>
Always 6 digits. It's easy to create a regular expression for this in the regular expression builder. This was the expression i used:
(?<=Passwort: \<STRONG\>).*(?=\<\/STRONG\>)
However some emails sent the password in the following format for spam protection:
Passwort: <STRONG>[spamprotection]123456</STRONG>
So i had to deal with two cases. I asked the support and they gave me the following expression:
(\d+){6}(?=\<\/STRONG\>)
With that it's possible to get the password even if they use spam protection.
4. So now i have the second expression that is needed. Below the "for identification" field you will find a + button. Click on it and use this regular expression there.
Some emails contain the password in html, some emails contain it in text.
So i created a second "work with mail" step. Now i have one step to parse html and one step to parse text from emails if the password isn't found in html.
5. I created a field that checks if the password is greater than 1. Since the password always consists of 6 digits it has to be greater than 1. If it's not greater than one the password wasn't found.
6. Now i can save my password and the loop starts again with the second string in my accounts.txt.
So in short words.
You need one RegExp to find ONE email and one RegExp to find the required text in that email. You can also use more than one RegExp to find passwords AND usernames for example.
1. U need a file of footprints. With that footprints you are able to find ONE specific email. (In my case the footprints are in the accounts.txt)
2. You need a regular expression to get the required information from your email.
3. Start the loop again with the next footprint from your file to process the next email.
You can also do the email processing part within your account creation template, then you can use your execution results to find specific emails.
But i think it's better to create all accounts first. Wait one hour. Move all emails from the spam folder in the Inbox and then do mass email processing with a different template.
Maybe it's not that easy to understand so if you have any questions ask them here, i'll try to help.
Here you can find my template. It should help you to understand what i said, but i think it is to complicated to modify it for other sites. So better start from scratch
Посмотреть вложение EmailProcessing.xml
PS: I recommend safe-mail.net to build your email processing template since you have more than one try to make everything right. ZP deletes all emails but safe-mail.net is able to forbid email deletion.