Email monitoring
-
- Posts: 30
- Joined: Tue Apr 05, 2011 3:39 pm
Email monitoring
I'm learning more about RoboTask every day, but this one has me stumped. It might not be possible.
I'm trying to use RoboTask to test the functionality of our email
server. The idea is to use RoboTask to send a small email every 5
minutes then check to see if the message was successfully delivered to
gmail.
The sending part is a piece of cake.
The "check for email" function seems quite limited. Knowing that there
is some kind of email in the box doesn't provide enough information.
What I really need is the ability to check if a specific email is
sitting in that mailbox.
Alternatively, if RoboTask can delete email, I could set up a new
account that's used for nothing else and I could send, check, delete,
until my heart's content.
Ideas?
Email monitoring
Look at the Email group of actions.
You can process emails in the box one-by-one in the loop (POP3 Mail Loop):
- analyze each email headers,
- download email and analyze its body,
- remove email from box.
You can process emails in the box one-by-one in the loop (POP3 Mail Loop):
- analyze each email headers,
- download email and analyze its body,
- remove email from box.
-
- Posts: 30
- Joined: Tue Apr 05, 2011 3:39 pm
Email monitoring
My bad. (Or maybe, my "horrible").After I found send email and check email, I made the assumption that all of the email functionality was in the "Internet" section.Thanks Oleg!
Email monitoring
Its not obvious how to do this Setting up send every 15 minutes is easy however You can process emails in the box one-by-one in the loop (POP3 Mail Loop): - analyze each email headers,
- download email and analyze its body,
- remove email from box. I get an error here " no end loop"Furthermore it seems to want to progress a variable I really need to know when an email server stops so that I can investigate the reason why leads have stopped I do not want to see or download sucessful emails but i do want to know when they fail This feature must come after the test send This is such a basic important requirement would it not be possible to make a templete for us to use please
- download email and analyze its body,
- remove email from box. I get an error here " no end loop"Furthermore it seems to want to progress a variable I really need to know when an email server stops so that I can investigate the reason why leads have stopped I do not want to see or download sucessful emails but i do want to know when they fail This feature must come after the test send This is such a basic important requirement would it not be possible to make a templete for us to use please
Email monitoring
See the example below.
This example shows how to process messages in your mailbox.
Example:
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|335077256
Comment=STRINGLIST
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task1101"
Hide=INTEGER|0
ID=INTEGER|1927415344
LogOnAsUser=INTEGER|1
Name=STRING|"Retrieve messages from email box (example)"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|2
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action10=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER
[Actions\Action1]
ActionID=STRING|"A_EMAIL_OPEN"
Enabled=INTEGER|-1
Name=STRING|"POP3 Open"
Params=FOLDER
[Actions\Action1\Params]
host=STRING|"somehost"
password=STRING|"45160437234448145245462874500315808"
port=STRING|"110"
SSL=STRING|"0"
user=STRING|"someuser"
[Actions\Action10]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Messages count: {mes_num}"""
Params=FOLDER
[Actions\Action10\Params]
icon=STRING|"1"
msg0=STRING|"Messages count: {mes_num}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action2]
ActionID=STRING|"A_EMAIL_LOOP"
Enabled=INTEGER|-1
Name=STRING|"POP3 Mail Loop"
Params=FOLDER
[Actions\Action2\Params]
cc=STRING|"mes_cc"
date=STRING|"mes_date"
from=STRING|"mes_from"
number=STRING|"mes_num"
size=STRING|"mes_size"
subj=STRING|"mes_subj"
to=STRING|"mes_to"
usecc=STRING|"1"
usedate=STRING|"1"
usefrom=STRING|"1"
usesize=STRING|"1"
usesubj=STRING|"1"
useto=STRING|"1"
[Actions\Action3]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Message: {mes_num}"""
Params=FOLDER
[Actions\Action3\Params]
icon=STRING|"1"
msg0=STRING|"Message: {mes_num}"
msg1=STRING|"subj: {mes_subj}"
msg2=STRING|"to: {mes_to}"
msg3=STRING|"from: {mes_from}"
msg4=STRING|"cc: {mes_cc}"
msg5=STRING|"date: {mes_date}"
msg6=STRING|"size: {mes_size}"
msgcount=STRING|"7"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action4]
ActionID=STRING|"A_ROBOTASK_LOG"
Enabled=INTEGER|-1
Name=STRING|"Log Message"
Params=FOLDER
[Actions\Action4\Params]
message=STRING|"Downloading {mes_num} message "
type=STRING|"3"
[Actions\Action5]
ActionID=STRING|"E_EMAIL_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"POP3 Download Email"
Params=FOLDER
[Actions\Action5\Params]
extract=STRING|"0"
num=STRING|"{mes_num}"
overwrite=STRING|"0"
savetofile=STRING|"D:\00\messages\temp.eml"
[Actions\Action6]
ActionID=STRING|"A_EMAILE_PARSE"
Enabled=INTEGER|-1
Name=STRING|"Parse Email"
Params=FOLDER
[Actions\Action6\Params]
cc=STRING|"1"
ccvar=STRING|"mes_cc"
date=STRING|"1"
datevar=STRING|"mes_date"
extract=STRING|"0"
file=STRING|"D:\00\messages\temp.eml"
from=STRING|"1"
fromvar=STRING|"mes_from"
overwrite=STRING|"0"
subj=STRING|"1"
subjvar=STRING|"mes_subj"
text=STRING|"1"
texttype=STRING|"0"
textvar=STRING|"mes_text"
to=STRING|"1"
tovar=STRING|"mes_to"
[Actions\Action7]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Message: {mes_num}"""
Params=FOLDER
[Actions\Action7\Params]
icon=STRING|"1"
msg0=STRING|"Message: {mes_num}"
msg1=STRING|"subj: {mes_subj}"
msg2=STRING|"to: {mes_to}"
msg3=STRING|"from: {mes_from}"
msg4=STRING|"cc: {mes_cc}"
msg5=STRING|"date: {mes_date}"
msg6=STRING|"size: {mes_size}"
msg7=STRING|"text:"
msg8=STRING|"{mes_text}"
msgcount=STRING|"9"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action8]
ActionID=STRING|"A_EMAIL_DELETE"
Enabled=INTEGER|-1
Name=STRING|"POP3 Delete Email"
Params=FOLDER
[Actions\Action8\Params]
num=STRING|"{mes_num}"
[Actions\Action9]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
This example shows how to process messages in your mailbox.
Each loop MUST be ended with End Loop action.I get an error here " no end loop"
Example:
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|335077256
Comment=STRINGLIST
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task1101"
Hide=INTEGER|0
ID=INTEGER|1927415344
LogOnAsUser=INTEGER|1
Name=STRING|"Retrieve messages from email box (example)"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|2
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action10=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER
[Actions\Action1]
ActionID=STRING|"A_EMAIL_OPEN"
Enabled=INTEGER|-1
Name=STRING|"POP3 Open"
Params=FOLDER
[Actions\Action1\Params]
host=STRING|"somehost"
password=STRING|"45160437234448145245462874500315808"
port=STRING|"110"
SSL=STRING|"0"
user=STRING|"someuser"
[Actions\Action10]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Messages count: {mes_num}"""
Params=FOLDER
[Actions\Action10\Params]
icon=STRING|"1"
msg0=STRING|"Messages count: {mes_num}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action2]
ActionID=STRING|"A_EMAIL_LOOP"
Enabled=INTEGER|-1
Name=STRING|"POP3 Mail Loop"
Params=FOLDER
[Actions\Action2\Params]
cc=STRING|"mes_cc"
date=STRING|"mes_date"
from=STRING|"mes_from"
number=STRING|"mes_num"
size=STRING|"mes_size"
subj=STRING|"mes_subj"
to=STRING|"mes_to"
usecc=STRING|"1"
usedate=STRING|"1"
usefrom=STRING|"1"
usesize=STRING|"1"
usesubj=STRING|"1"
useto=STRING|"1"
[Actions\Action3]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Message: {mes_num}"""
Params=FOLDER
[Actions\Action3\Params]
icon=STRING|"1"
msg0=STRING|"Message: {mes_num}"
msg1=STRING|"subj: {mes_subj}"
msg2=STRING|"to: {mes_to}"
msg3=STRING|"from: {mes_from}"
msg4=STRING|"cc: {mes_cc}"
msg5=STRING|"date: {mes_date}"
msg6=STRING|"size: {mes_size}"
msgcount=STRING|"7"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action4]
ActionID=STRING|"A_ROBOTASK_LOG"
Enabled=INTEGER|-1
Name=STRING|"Log Message"
Params=FOLDER
[Actions\Action4\Params]
message=STRING|"Downloading {mes_num} message "
type=STRING|"3"
[Actions\Action5]
ActionID=STRING|"E_EMAIL_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"POP3 Download Email"
Params=FOLDER
[Actions\Action5\Params]
extract=STRING|"0"
num=STRING|"{mes_num}"
overwrite=STRING|"0"
savetofile=STRING|"D:\00\messages\temp.eml"
[Actions\Action6]
ActionID=STRING|"A_EMAILE_PARSE"
Enabled=INTEGER|-1
Name=STRING|"Parse Email"
Params=FOLDER
[Actions\Action6\Params]
cc=STRING|"1"
ccvar=STRING|"mes_cc"
date=STRING|"1"
datevar=STRING|"mes_date"
extract=STRING|"0"
file=STRING|"D:\00\messages\temp.eml"
from=STRING|"1"
fromvar=STRING|"mes_from"
overwrite=STRING|"0"
subj=STRING|"1"
subjvar=STRING|"mes_subj"
text=STRING|"1"
texttype=STRING|"0"
textvar=STRING|"mes_text"
to=STRING|"1"
tovar=STRING|"mes_to"
[Actions\Action7]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Message: {mes_num}"""
Params=FOLDER
[Actions\Action7\Params]
icon=STRING|"1"
msg0=STRING|"Message: {mes_num}"
msg1=STRING|"subj: {mes_subj}"
msg2=STRING|"to: {mes_to}"
msg3=STRING|"from: {mes_from}"
msg4=STRING|"cc: {mes_cc}"
msg5=STRING|"date: {mes_date}"
msg6=STRING|"size: {mes_size}"
msg7=STRING|"text:"
msg8=STRING|"{mes_text}"
msgcount=STRING|"9"
playsound=STRING|"0"
showmessage=STRING|"1"
[Actions\Action8]
ActionID=STRING|"A_EMAIL_DELETE"
Enabled=INTEGER|-1
Name=STRING|"POP3 Delete Email"
Params=FOLDER
[Actions\Action8\Params]
num=STRING|"{mes_num}"
[Actions\Action9]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"