Author |
Message
|
WBISurvivor |
Posted: Wed Jul 26, 2006 7:49 am Post subject: Triggering a message flow through a email |
|
|
Novice
Joined: 22 May 2006 Posts: 17
|
I was wondering if there is a wy to trigger a message flow upon receival of an email message? Has anyone tried doing it. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jul 26, 2006 8:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You will need a custom Input plugin node that can either recieve messages using POP3 or IMAP. For example, you could write one using Java and the JavaMail API.
Or you will need a program that can read email using POP3 or IMAP and put messages onto a queue, or forward messages over HTTP or etc. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Hassan |
Posted: Wed Jul 26, 2006 8:18 am Post subject: |
|
|
 Voyager
Joined: 01 Apr 2004 Posts: 81 Location: Toronto, Canada
|
You may have an easier workaround if you think outside the MQ/box.
On Windows, if you use Outlook you can create a rule to start an application to "start the message flow" (put a message onto a queue which is being trigger monitored). You windows can be an MQ client or can be running the Queue Manager itself.
Cheers!!!! |
|
Back to top |
|
 |
WBISurvivor |
Posted: Wed Jul 26, 2006 8:32 am Post subject: |
|
|
Novice
Joined: 22 May 2006 Posts: 17
|
Hassan wrote: |
You may have an easier workaround if you think outside the MQ/box.
On Windows, if you use Outlook you can create a rule to start an application to "start the message flow" (put a message onto a queue which is being trigger monitored). You windows can be an MQ client or can be running the Queue Manager itself.
Cheers!!!! |
sounds interesting!!! But how can I configure the outlook to put a message on to a queue upon receiving the email? Thanks |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jul 26, 2006 8:38 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Hassan wrote: |
You may have an easier workaround if you think outside the MQ/box.
On Windows, if you use Outlook you can create a rule to start an application to "start the message flow" (put a message onto a queue which is being trigger monitored). You windows can be an MQ client or can be running the Queue Manager itself.
Cheers!!!! |
Assuming that WBISurvivor want to process the e-mail body in the message flow, how does the Outlook started application access the e-mail contents? _________________ -wayne |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Jul 26, 2006 9:32 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi WBISurvivor,
Use Java Mail API
This seems like a good plugin to work on....but what could be the business use ?
I don't see many clients trying to trigger anything using mails....it would not be foolproof....why would u want the administrator trigger something using a mail rather than a custom Administrator GUI tool for message put/get etc....
Send Mail atleast provided notification on a failure....
Regards. |
|
Back to top |
|
 |
Hassan |
Posted: Thu Jul 27, 2006 6:25 am Post subject: |
|
|
 Voyager
Joined: 01 Apr 2004 Posts: 81 Location: Toronto, Canada
|
You can define rules for incoming emails in Outlook. These can be based on a word in the body of the email, subject line, sender, etc. etc.
It is not Outlook that is putting a message on any queues, etc. Outlook is only used to start an application (can be a batch file or anything else that you may develop). It is this application which does the actual "puts". You can have whatever application logic that you want, as an example this application puts a particular message onto a queue and then ends till it is executed again on arrival of another email, OR if the types of emails are limited say 4-6, then you can have 4-6 corresponding apps/programs which get executed for these specific emails and each app/prog. puts a different msg onto the queue, etc. etc. (app/prog logic would depend on your specific requirements).
My suggestions are not based on any assumptions, just what was stated as a requirement. I think this is simple enough to work but off course there can always be more bells and whistles ........ |
|
Back to top |
|
 |
|