SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
e-mail watch

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
e-mail watch
Author Message
Mark Richards



Joined: 05 Jun 2000
Posts: 31

Post e-mail watch Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
Mark Richards



Joined: 05 Jun 2000
Posts: 31

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
Mark Richards



Joined: 05 Jun 2000
Posts: 31

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
Mark Richards



Joined: 05 Jun 2000
Posts: 31

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: e-mail watch Reply with quote

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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.