Message start event based on E-mail parse

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2015 06:35 AM
Hello Community,
I am trying to start an event based on E-mail data that I will receive.
May be Message start event is good path for that, can anybody help me with this stuff ?
I am trying to start an event based on E-mail data that I will receive.
May be Message start event is good path for that, can anybody help me with this stuff ?
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-28-2015 08:56 AM
You will need a listener for the email that starts the process. Doesn't matter if you use a regular start for this or a message based event. The message based event does not map to an email, btw.
Using Camel here would be an option.
Using Camel here would be an option.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2015 10:34 AM
Thank you for your help @jbarrez
What I actually want to achieve is to extract from a confirmation mail the word " Approve " or " Reject ".
I created an execution listener within a Receive Task that will download Emails.
Can you help me to parse the email ?
<java>
public class MyEmailListener implements ExecutionListener{
public void execute(DelegateExecution execution) throws Exception
{
while(true)
{
downloadEmails("imap", "imap.gmail.com", "993", "username@gmail.com", "pwd", delegateexecution);
}
}
}
</java>
What I actually want to achieve is to extract from a confirmation mail the word " Approve " or " Reject ".
I created an execution listener within a Receive Task that will download Emails.
Can you help me to parse the email ?
<java>
public class MyEmailListener implements ExecutionListener{
public void execute(DelegateExecution execution) throws Exception
{
while(true)
{
downloadEmails("imap", "imap.gmail.com", "993", "username@gmail.com", "pwd", delegateexecution);
}
}
}
</java>

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-29-2015 01:27 PM
Parsing emails is not within the scope of what we provide with Activiti.
But there are plenty code examples available when doing a google search I think.
Best regards,
But there are plenty code examples available when doing a google search I think.
Best regards,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2016 09:00 AM
Hello,
is there now a possibility to parse received e-Mails?
Is it possible to start a process with an e-Mail? (usergiude –> "Message Start Event"?)
Regards,
Sabine
is there now a possibility to parse received e-Mails?
Is it possible to start a process with an e-Mail? (usergiude –> "Message Start Event"?)
Regards,
Sabine
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2016 03:30 AM
Hi Sabine,
Regards
Martin
is there now a possibility to parse received e-Mails?Yes, but you have to implement it by yourself.
Is it possible to start a process with an e-Mail?Yes you have to send this message from your own code which can connect to e-mail server and parse emails.
Regards
Martin
