Wir haben ein Problem mit der Maildownloadfunktion bei bestimmten Massagetexten werden beinhaltete Attachements nicht aus der Mail extrahiert.
Beispielscript:
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|0
CatID=INTEGER|0
ContinueOnError=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task5"
Hide=INTEGER|0
ID=INTEGER|1240386218
LogOnAsUser=INTEGER|1
Name=STRING|"Test ELC LAFARGE (imported) (imported)"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action10=FOLDER
Action11=FOLDER
Action12=FOLDER
Action13=FOLDER
Action14=FOLDER
Action15=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER
Action8=FOLDER
Action9=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_CREATE"
Enabled=INTEGER|-1
Name=STRING|"Create variable ""MSG_FOLDER_LAFARGE"" with value ""C:\temp\LAFARGE"""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"0"
varname=STRING|"MSG_FOLDER_LAFARGE"
varvalue=STRING|"C:\temp\LAFARGE"
[Actions\Action10]
ActionID=STRING|"A_EMAIL_DELETE"
Enabled=INTEGER|-1
Name=STRING|"POP3 Delete Email"
Params=FOLDER
[Actions\Action10\Params]
num=STRING|"{MSG_NUM_LAFARGE}"
[Actions\Action11]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"
[Actions\Action12]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Actions\Action13]
ActionID=STRING|"A_VARIABLES_REMOVE"
Enabled=INTEGER|-1
Name=STRING|"Remove variable ""MSG_FOLDER_LAFARGE"""
Params=FOLDER
[Actions\Action13\Params]
varname=STRING|"MSG_FOLDER_LAFARGE"
[Actions\Action14]
ActionID=STRING|"A_VARIABLES_REMOVE"
Enabled=INTEGER|-1
Name=STRING|"Remove variable ""MSG_NUM_LAFARGE"""
Params=FOLDER
[Actions\Action14\Params]
varname=STRING|"MSG_NUM_LAFARGE"
[Actions\Action15]
ActionID=STRING|"A_VARIABLES_REMOVE"
Enabled=INTEGER|-1
Name=STRING|"Remove variable ""MSG_FROM_LAFARGE"""
Params=FOLDER
[Actions\Action15\Params]
varname=STRING|"MSG_FROM_LAFARGE"
[Actions\Action2]
ActionID=STRING|"A_VARIABLES_CREATE"
Enabled=INTEGER|-1
Name=STRING|"Create variable ""MSG_NUM_LAFARGE"" with value """""
Params=FOLDER
[Actions\Action2\Params]
expand=STRING|"0"
varname=STRING|"MSG_NUM_LAFARGE"
[Actions\Action3]
ActionID=STRING|"A_VARIABLES_CREATE"
Enabled=INTEGER|-1
Name=STRING|"Create variable ""MSG_FROM_LAFARGE"" with value """""
Params=FOLDER
[Actions\Action3\Params]
expand=STRING|"0"
varname=STRING|"MSG_FROM_LAFARGE"
[Actions\Action4]
ActionID=STRING|"A_EMAIL_OPEN"
Enabled=INTEGER|-1
Name=STRING|"POP3 Open"
Params=FOLDER
[Actions\Action4\Params]
host=STRING|"xxx.xxx.at"
password=STRING|"xxxxxxxxxxxxxxxxxxxxxxxx"
port=STRING|"110"
SSL=STRING|"0"
user=STRING|"xxxx\xxxxxx"
[Actions\Action5]
ActionID=STRING|"A_EMAIL_LOOP"
Enabled=INTEGER|-1
Name=STRING|"POP3 Mail Loop"
Params=FOLDER
[Actions\Action5\Params]
from=STRING|"MSG_FROM_LAFARGE"
number=STRING|"MSG_NUM_LAFARGE"
usecc=STRING|"0"
usedate=STRING|"0"
usefrom=STRING|"1"
usesize=STRING|"0"
usesubj=STRING|"0"
useto=STRING|"0"
[Actions\Action6]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then"
Params=FOLDER
[Actions\Action6\Params]
case=STRING|"0"
operator=STRING|"0"
type=STRING|"0"
value1=STRING|"{AddressOnly({MSG_FROM_LAFARGE})}"
value2=STRING|"h.zinkner@gmx.de"
[Actions\Action7]
ActionID=STRING|"E_EMAIL_DOWNLOAD"
Enabled=INTEGER|-1
Name=STRING|"POP3 Download Email"
Params=FOLDER
[Actions\Action7\Params]
attachfolder=STRING|"C:\Temp"
extract=STRING|"0"
num=STRING|"{MSG_NUM_LAFARGE}"
overwrite=STRING|"0"
savetofile=STRING|"C:\Temp\LAFARGE\TEST\xx.eml"
[Actions\Action8]
ActionID=STRING|"A_EMAILE_PARSE"
Enabled=INTEGER|-1
Name=STRING|"Parse Email"
Params=FOLDER
[Actions\Action8\Params]
attachfolder=STRING|"c:\temp\LAFARGE\TEST"
cc=STRING|"0"
date=STRING|"0"
extract=STRING|"1"
file=STRING|"C:\Temp\LAFARGE\TEST\xx.eml"
from=STRING|"0"
overwrite=STRING|"0"
subj=STRING|"0"
text=STRING|"1"
texttype=STRING|"1"
textvar=STRING|"MAIL_TEXT"
to=STRING|"0"
[Actions\Action9]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""{MAIL_TEXT}"""
Params=FOLDER
[Actions\Action9\Params]
icon=STRING|"1"
msg0=STRING|"{MAIL_TEXT}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"
[Events]
Event1=FOLDER
[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_SHEDULER"
Params=FOLDER
[Events\Event1\Params]
id=STRING|"S8D9L0XS"
periodicity=STRING|"0"
startdate=STRING|"39547"
time0=STRING|"26400000"
time1=STRING|"44400000"
timecount=STRING|"2"
Wenn im Mail folgender Messagetext steht wird das PDf Attachement nicht extrahiert:
Mailtext:
Bei Rückfragen wenden Sie sich bitte an unten angeführte Kontaktadresse.
Mit freundlichen Grüßen
Michael Kaltenberger
Fakturierung
wenn folgender Meldungstext steht --> funktioniert die Extraktion:
Bei Rückfragen wenden Sie sich bitte an unten angeführte Kontaktadresse,
Mit freundlichen Grüßen
Michael Kaltenberger
Fakturierung
Bitte um Unterstützung.
RG
Mail download funktion
Mail download funktion
Last edited by rohrerg on Tue Mar 23, 2010 10:42 am, edited 1 time in total.