 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Mark Richards
Joined: 05 Jun 2000 Posts: 31
|
|
e-mail watch |
|
I cannot seem to make the e-mail watch work properly. We use Outlook 2000 installed on a Windows 2000 PC which is running our scheduler. The job setup requires the entry of the e-mail profile name. Ours is the default, "MS Exchange Settings". We enter this and the password for the e-mail account. (If we enter the username in place of the profile name, we get an error asking us to select the profile, so I assume that the login is actually taking place). We established a job to watch for new incoming mail with "EDILOAD" in the subject line. I entered this in the job form without the quote marks, which I assume is correct. Incoming mail does NOT trigger the job. Is this broken, or am i missing something? Any assistance would be very much appreciated. Thanks.
|
|
Mon Jan 29, 2001 11:18 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: e-mail watch |
|
You also need to specify the message text. Enter asterisk * into the Text field if you don't care about it. Also make sure the subject is "EDILOAD" and not "EDILOAD ". Extra spaces do matter. To ignore them specify subject as "EDILOAD*". In general, ? and * can be used as wildcards in subject and text just like you use them in file mask names. If you watch your Outlook Inbox while 24x7 is scanning your incoming emails you can see how it works. : I cannot seem to make the e-mail watch work properly. : We use Outlook 2000 installed on a Windows 2000 PC which is running our : scheduler. : The job setup requires the entry of the e-mail profile name. Ours is the : default, "MS Exchange Settings". We enter this and the password : for the e-mail account. (If we enter the username in place of the profile : name, we get an error asking us to select the profile, so I assume that : the login is actually taking place). : We established a job to watch for new incoming mail with "EDILOAD" : in the subject line. I entered this in the job form without the quote : marks, which I assume is correct. : Incoming mail does NOT trigger the job. : Is this broken, or am i missing something? : Any assistance would be very much appreciated. : Thanks.
|
|
Mon Jan 29, 2001 11:45 am |
|
 |
Mark Richards
Joined: 05 Jun 2000 Posts: 31
|
|
Re: e-mail watch |
|
Thanks for the reply. SoftTreeTech support is fabulous! However, the suggestion did not work. I see the scheduler "reading message 1", but no joy. There are eMail Options (in the Options dialog), but I cannot find the documentation for these. Perhaps their settings may be an issue. It is setup for: SMTP MIME: Quoted Printable text/html (our SMTP server name) I have tried other encoding options, including NONE/Text plain, without success. Is it possible to see what's happening behind the scenes? Log Is there a log option that i can turn on? Perhaps this will assist in debugging. Regards, Mark
|
|
Mon Jan 29, 2001 2:20 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: e-mail watch |
|
You should have MAPI selected in the Options for the email trigger to work. Keep in mind that the system checks your messages using exact search, including text capitalization and all non-visible characters like tabs, end of lines, etc... Also note that only incoming messages that have "New" status are checked in the Inbox to avoid re-reading already scanned messages. Your Outlook shows such messages in bold (see Inbox Outlook folder). Once the message is read it is not marked as "new" anymore and so it will not be found on the next scan. You should re-send the message after you have changed the job email trigger. To simply the work, in the email trigger settings append the * to the end of the subject and specify * for the text. Please let us know if it helps. : Thanks for the reply. SoftTreeTech support is fabulous! : However, the suggestion did not work. I see the scheduler "reading : message 1", but no joy. : There are eMail Options (in the Options dialog), but I cannot find the : documentation for these. : Perhaps their settings may be an issue. It is setup for: SMTP : MIME: Quoted Printable : text/html : (our SMTP server name) : I have tried other encoding options, including NONE/Text plain, without : success. : Is it possible to see what's happening behind the scenes? Log : Is there a log option that i can turn on? Perhaps this will assist in : debugging. : Regards, : Mark
|
|
Mon Jan 29, 2001 4:05 pm |
|
 |
Mark Richards
Joined: 05 Jun 2000 Posts: 31
|
|
Re: e-mail watch |
|
Thank you. I finally got it working and your test suggestion worked. Rules: If i put "*LOADEDI*" and send "LOADEDI" in the subject, it doesn't trigger. If i put "LOADEDI*" and send "LOADEDI" in the subject, it doesn't trigger. If i put "LOADEDI" and send "LOADEDI" in the subject, it triggers. If i put "LOADEDI*" and send "LOADEDISTUFF" in the subject, it triggers. It appears the wildcard operates in an exclusive mode. That is, if you include a wildcard in the search string and there are no characters where the wildcard expects at least one, nothing happens. I think that this created all the confusion for me as i was expecting the wildcard to work no matter what. Once the message is read, nothing else can evaluate it, so i think i am limited to a single test. Ideally, i want to test for any number of e-mail subject lines and perform an action based on the specific subject. Can this be performed within a script? I cannot find any function to read the new message which returns data. Please advise.
|
|
Mon Jan 29, 2001 5:45 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: e-mail watch |
|
You can write your own email handler. Just specify * for the subject then such the email trigger will catch every incoming email. In the script use @V"subject" macro variable to get the exact subject of the message being processed. You can use ChooseCase of IfThen statements to implement various cases. : Thank you. I finally got it working and your test suggestion worked. : Rules: If i put "*LOADEDI*" and send "LOADEDI" in the : subject, it doesn't trigger. : If i put "LOADEDI*" and send "LOADEDI" in the subject, it : doesn't trigger. : If i put "LOADEDI" and send "LOADEDI" in the subject, it : triggers. : If i put "LOADEDI*" and send "LOADEDISTUFF" in the : subject, it triggers. : It appears the wildcard operates in an exclusive mode. That is, if you : include a wildcard in the search string and there are no characters where : the wildcard expects at least one, nothing happens. : I think that this created all the confusion for me as i was expecting the : wildcard to work no matter what. : Once the message is read, nothing else can evaluate it, so i think i am : limited to a single test. Ideally, i want to test for any number of e-mail : subject lines and perform an action based on the specific subject. : Can this be performed within a script? I cannot find any function to read the : new message which returns data. Please advise.
|
|
Mon Jan 29, 2001 5:59 pm |
|
 |
Mark Richards
Joined: 05 Jun 2000 Posts: 31
|
|
Re: e-mail watch |
|
That's good news.
I tried the following:
dim cString,string
set cString, @V"subject"
I get a syntax error when i attempt to assign the result of the macro variable. Is this legal?
I wanted to avoid calling @V"subject" in my script every time i tested. It seemed more efficient to assign it to a local variable.
-m-
|
|
Mon Jan 29, 2001 6:20 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: e-mail watch |
|
Dim cString, string, "@V"subject"" or set cString, "@V"subject"" : That's good news. : I tried the following: dim cString,string : set cString, @V"subject" : I get a syntax error when i attempt to assign the result of the macro : variable. Is this legal? : I wanted to avoid calling @V"subject" in my script every time i : tested. It seemed more efficient to assign it to a local variable. : -m-
|
|
Mon Jan 29, 2001 7:12 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|