email parsing automation

Email Parser

Extract data from emails and automate your workflow

The forum is now read only. Please, go to the the main Email Parser website if you need help.
Need help configuring the program? Have any questions regarding its use?
I have a table named Outgoing. It has the following fields:
SQN, EMAILADDRESS, SUBJECT, CONTENT, TRIES, SUCCESS, TIMESTAMP

I want an action that runs after a MySQl database action is successfully run. It should do the following:

1. Send an email to each EMAILADDRESS in the table where TRIES < 4 and SUCCESS = 0. The subject and body of the email are taken from the fields SUBJECT and CONTENT respectively.

2. For each email sent successfully to "EMAILADDRESS" update the field SUCCESS to "1" and TRIES to "TRIES+1" for the corresponding EMAILADDRESS

3. For each email NOT sent successfully to "EMAILADDRESS" the field SUCCESS should remain at "0" for the corresponding EMAILADDRESS and automatically retry to send the email up to 3 times at 2 minute intervals.

4. Update the field TRIES to "TRIES+1" at each send attempt, whether successful or failed.

5. Update the field TIMESTAMP with the time and date of each send attempt, whether successful or failed.
Hello,

I have done a brief sketch of how you should configure Email&Parser. Take a look at this screenshot:
example.jpg
brief sketch of how it should look like your configuration
example.jpg (20.47KiB)Viewed 5370 times
One of the actions is a script-based action and it requires some programming skills to be done. It would be fairly simple to write if you know how.

Note that we offer consultancy services in the case you need us to configure the program according to a given specifications. Technical support is of course free so if you need help or have any question about a particular topic feel free to post again.

Further info here: http://www.automatedemailparser.com/doc ... go=topic53
I configured the system using the example image you gave. I am getting the following error (please refer to the example image you gave me):
1. Get email addresses - No problem. I get 4 sets of results as expected. The test passes. (this is a query that does selects email addresses from a table)
2. For each email address - When I test this action it finds only one set of results, and the set is empty. The test runs and finishes with no error, which I guess means it is not finding anything from the previous action. I configure this action to take fields from the previous action (1 above), so I would expect to get 4 sets of results.
3. Send email- Gives the error message "No sender specified for the mail message" when I run it after action 1 or action 2. This I guess means it is not finding anything from the previous action.

So I am not able to send an email to email addresses from the database table.

However, 2 and 3 work well when I manually enter values for email address and other fields.

Where am I going wrong?
Thanks for the detailed explanation. I would need to check your configuration file to see what is wrong. Could you please post here the settings file? I think that this would be the only way to troubleshoot the problem.

To avoid disclosing any private data I suggest you to remove your email source and change your database server connection settings. Then go to:

Preferences (on the-toolbar) -->Backup and Restore settings-> Backup current settings to a file.

To revert to your original settings you can also do a backup of your current settings brefore deleting any sensitive data and restore it after posting here.
2.- For each email address...
Check that you have included the fields in the "iterate on this fields" list.
3. Send email- Gives the error message "No sender specified for the mail message" when I run it after action 1 or action 2. This I guess means it is not finding anything from the previous action.
Yes, that seems to be the case. If you get that message means that the address field is empty.
I could not upload the file with settings because of file size limitation. My file is 260KiB. I am getting the following error:
"The file is too big, maximum allowed size is 256 KiB."

So have send the file by email with subject "Action to Send Emails Problem" to:
support@EmailParser2Database.com

I have observed 2 things:
1. fields from the Regular Expression parser are not being inserted into the database table. However, fields from email address are inserted into the table.
2. The action to send email is accepting fields from an email (eg "from"), but not from the Iterate action

NOTE: I am using two different tables here: first table "test" to insert fields from Regular Expression parser, second table "log" to get email addresses from.
I have just changed the maximum allowed file size if the forum to 2MB. This would be enough for most cases.

I will continue with this issue by email and will post here any update.
I have also observed that Email&Parser is not "writing to text file" or "inserting into Excel file" the fields extracted by the regular expression
I have also observed that Email&Parser is not "writing to text file" or "inserting into Excel file" the fields extracted by the regular expression
Could you confirm if the field was actually extracted? Please, post here the Email&Parser complete output (copy and paste from Email&Parser right panel)

Regular expressions and Excel insertions are the most common features and I use it quite often but have not noticed any problem with them.
This is the output of the parser:
Parsing email....
1 value found for the field M0.
1 value found for the field M1.
1 value found for the field M2.
1 value found for the field M3.
1 value found for the field M4.

The email parser produced the following results:
M0: What
M1: the
M2: Heck
M3: is
M4: a Regular Expression Anyway?

The output of the Action is shown below. Notice that only email headers are added into the Excel file; the same applies to Insert into database and text file:

········ Running Action-5
Opening Excel file C:\Users\A Marema\Desktop\EmailParser.xlsx
Adding cell M0:
Adding cell M1:
Adding cell M2:
Adding cell M3:
Adding cell M4:
Adding cell To: example@example.com


Finished
Hi,

No idea, sorry. Please send me your configuration to support@emailparser2database.com

You can save your configuration to a file at the preferences window:
backup_settings.jpg
I emailed the configuration file from:
sdfungayi@gmail.com
Thanks. It is very strange. I've tried your configuration file and could successfully get the required fields. It is the version 3.2 running your configuration file:
1.jpg
2.jpg
I ran the Email&Parser program in a "live" environment using an actual email source and it works fine.

Previously I was only running it in "test" environment using a dummy email source; it was not extracting text as expected. I believe the "test" environment should give results similar to the "live" environment.