I want to demo the invocation of a IS service via email. in order to do so, i set up a dedicated IMAP server (i can connect to it from the machine running IS via outlook).
I created an EMail port, put in the credentials + host for this IMAP server. This port is enabled and has ‘Allow by default’ as access mode.
When reading the XML Service Developer Guide, i would expet that i can send a mail in plain text format to
with subject set to ‘pub.math:addInts’ and a content of
'num1=12&num2=34&$user=user&$pass=secret’
i do not get any response and the mail stays unread in the incoming messages folder forever.
My question: is there some working sample? Do i really have to send XML attachments? if yes, are there sample for this as well? and finally: can i analyse whats going on by enabling appropriate debug flags?
I found no way to put the pictures in here directly, so i attached them to this post.
1: this shows the settings in the Security > Ports screen
2: this shows the settings in the Security > Ports screen > View Email Client Settings
3: shows the access mode settings
4: shows the IP Access settings
After turning on all logging in IS i get the following messages on the serverNNNNNNNN.log file:
15:37:25 CEST [ISP.0068.0024W] The connection to the IMAP server localhost for user user was temporarily lost. Some messages may not have been processed.
15:37:27 CEST [ISS.0069.9998V4] (Complex Job Manager, 30.0, 1188394647050, running) was successfully allocated a thread
15:37:35 CEST [ISP.0068.0001V5] Successfully logged in as user user on host localhost
15:37:37 CEST [ISS.0069.9998V4] (Session Sweeper, 600.0, 1188394657971, running) was successfully allocated a thread
15:37:40 CEST [ISS.0069.9998V4] (Statistics Log, 60.0, 1188394660074, running) was successfully allocated a thread
Hmm. That all looks okay. Perhaps the thing to do at this point is to create a service of your own that you invoke via e-mail. In that service you can log a message or do some other activity to see if your service is getting invoked. If it is, then there would appear to be some issue in the interaction between IS and the IMAP server.
When my service is invoked from IS i can see it’s output. so far, so good.
When I look into the log’s of my IMAP server, i see IS is connecting and disconnecting every 10 seconds, but looks like it does not find a mail it likes. Could it be that the message i sent using outlook (in plain text format) is not well formatted? Can you suggest a client application (with small footprint) or what services within IS could be used to
-send a message that should be digestable
-check whats in the IMAP store
and finally, which is what i might try next, can you recommend a suitable IP sniffer for WindowsXP to see the interactions between IS and my service.