SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
E-mail notification

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
E-mail notification
Author Message
Jeff Inouye



Joined: 29 Oct 2001
Posts: 9

Post E-mail notification Reply with quote

Is it possible to customize the e-mail notification that is sent by 24x7? I would like to add hyperlink addresses to the notification upon successful completion of a job.

Regards,

Jeff Inouye

Thu Nov 29, 2001 10:03 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: E-mail notification Reply with quote

You can add such link text as a part of the job name. Your email client will automatically display it as an active hyperlink addresses.

Another possibility is to use "script" type notification instead of "email" type. In the script you can use MailSend statement with any desired message subject and text.

: Is it possible to customize the e-mail notification that is sent by 24x7? I
: would like to add hyperlink addresses to the notification upon successful
: completion of a job.

: Regards,

: Jeff Inouye

Fri Nov 30, 2001 12:51 am View user's profile Send private message
Jeff Inouye



Joined: 29 Oct 2001
Posts: 9

Post Re: E-mail notification Reply with quote

: You can add such link text as a part of the job name. Your email client will
: automatically display it as an active hyperlink addresses.

: Another possibility is to use "script" type notification instead of
: "email" type. In the script you can use MailSend statement with
: any desired message subject and text.

I tried to use a script with MailSend. I am using SMTP mail, no password is necessary. My script is as follows:

MailSend 24x7 Scheduler,username@smtp.zzz.com,subject: Success!,message:You may find your report at http://test/html

24x7 returns the following error:

11/30/2001 11:45:41 1 101 New Job Notification Action Failed: An error occurred while executing automation script. Line 1: Bad number of arguments.

What am I doing wrong?

Fri Nov 30, 2001 6:05 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: E-mail notification Reply with quote

Paste it as single line

MailSend "sender@smtp.zzz.com", "", "recipient@smtp.zzz.com", "Success!", "You may find your report at http://test/html";

: I tried to use a script with MailSend. I am using SMTP mail, no password is
: necessary. My script is as follows: MailSend 24x7
: Scheduler,username@smtp.zzz.com,subject: Success!,message:You may find
: your report at http://test/html

: 24x7 returns the following error: 11/30/2001 11:45:41 1 101 New Job
: Notification Action Failed: An error occurred while executing automation
: script. Line 1: Bad number of arguments.

: What am I doing wrong?

Fri Nov 30, 2001 7:55 pm View user's profile Send private message
Jeff Inouye



Joined: 29 Oct 2001
Posts: 9

Post Re: E-mail notification Reply with quote

: Paste it as single line

: MailSend "sender@smtp.zzz.com", "",
: "recipient@smtp.zzz.com", "Success!", "You may
: find your report at http://test/html"; ;

I still get the same error. I copied your script as one line. I also tried to use the wizard, which gave me the following script:

MailSend( 24x7, , recipient@smtp.zzz.com, Test subject, Test message )

That also gave me the bad argument error. Any ideas?

Fri Nov 30, 2001 8:33 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: E-mail notification Reply with quote

Please paste the text as I have it in my message with double quotes and no semicolon at the end.

Once again it should be
MailSend "sender@smtp.zzz.com", "", "recipient@smtp.zzz.com", "Success!", "You may find your report at http://test/html";

PS. Both your versions have incorrect syntax.

: I still get the same error. I copied your script as one line. I also tried to
: use the wizard, which gave me the following script: MailSend( 24x7, ,
: recipient@smtp.zzz.com, Test subject, Test message )

: That also gave me the bad argument error. Any ideas?

Fri Nov 30, 2001 10:37 pm View user's profile Send private message
Jeff Inouye



Joined: 29 Oct 2001
Posts: 9

Post Re: E-mail notification Reply with quote

: Please paste the text as I have it in my message with double quotes and no
: semicolon at the end.

: Once again it should be
: MailSend "sender@smtp.zzz.com", "",
: "recipient@smtp.zzz.com", "Success!", "You may
: find your report at http://test/html"; ;

: PS. Both your versions have incorrect syntax.

Thanks, that worked. The first time I left the semicolon in.

Fri Nov 30, 2001 10:58 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.