It is currently 19 Oct 2018 4:54


Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 18 Apr 2013 4:46 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Sep 2010 12:00
Posts: 73
I set a variable to pass back to my job for the email bodies.

$exe is the path and name of CTMVAR.

&$exe -action set -var "%%\EMAIL_BODY" -varexpr $body

I then use this variable in the STEPS panel as the body of emails sent out depending on CM Job outcome.

However, somewhere there are extra CRLF being added to the $body text so that in Outlook there are many extra blank lines which makes it look bad.

I believe CM is adding these as the same $body variable is also sent to a log file which has the expected formating. There are no exta CRLF in the saved file.

Any ideas??????????

--Goo


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved