===== signalByMailWithLimitAndMoveMessage =====
==== Description ====
This [[software:tim:timer|timer]] checks a mailbox for new mails and forwards the corresponding process instance and moves the mail.
==== Timer Name ====
any name \\
==== Webservice Name ====
ProcessInstanceManager
==== Webservice Methode ====
signalByMailWithLimitAndMoveMessage
==== Parameter ====
=== ProcessInstanceID-Reg-Exp ===
piIdRegex, a [[regularexpression|regular expression]] that specifies how the ProcessInstanceID is found.\\
It searches in the text and in the subject for this.
\\ === Activitynames-Reg-Exp ===
nodeNameRegex, a [[regularexpression|regular expression]] that searches the currently processed mail of the given activity and [[tim:software:signal|signals]] it.\\
It searches in texts and in subjects on the server for this.
\\ == Filter-Reg-Exp ==
filterRegex, a [[regularexpression|Regular Expression]] that specifies a condition which mails are to be processed.
\\ === E-mail-address ===
email, the complete e-mail address from which the mails are retrieved.
\\ === Password ===
password, Password of the E-Mail account.
\\ === Port ===
port, match the e-mail address and the host
\\ === Host ===
host, example: pop3.gmail.com
\\ === Limit ===
limit, number of e-mails to be processed.
\\ === MoveFolder ===
moveFolder, processed e-mails should be moved to this folder.
>> **IMPORTANT!**
Move of e-mails does not work by pop3.
----
==== Example ====
[0-9]{4},Wait-for-Mail-signal,,johnm1477@gmail.com,&e1am!sIlI,995,imap.gmail.com,1,checkt
{{ :software:tim:timer:timerSignalMail_en.png }}
----
==== Dependencies ====
\\ __T!M Version__ : [[software:tim:changelog:3.5.1|Version 3.5.1]]