 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
Jeff Inouye
Joined: 29 Oct 2001 Posts: 9
|
|
E-mail notification |
|
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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: E-mail notification |
|
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 |
|
 |
Jeff Inouye
Joined: 29 Oct 2001 Posts: 9
|
|
Re: E-mail notification |
|
: 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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: E-mail notification |
|
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 |
|
 |
Jeff Inouye
Joined: 29 Oct 2001 Posts: 9
|
|
Re: E-mail notification |
|
: 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 |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
Re: E-mail notification |
|
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 |
|
 |
Jeff Inouye
Joined: 29 Oct 2001 Posts: 9
|
|
Re: E-mail notification |
|
: 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 |
|
 |
|
|
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
|
|
|