Jump to content
harrincc

Script - E-mail to Client Contact

Recommended Posts

I have a script i created that can be ran to install all patches that were approved.  This script utilized the function "Patch Install All" and Action of "Missing Approved Patches"

I would like to add a second statement that e-mails the customer by pulling email either from the client owner contact information OR specific contact e-mail listed from the customer configuration.

I was able to perform part of this utilizing the Function "Email" but i have to manually put in the e-mail vs it just pulling a variable like "ContactEmail" or owner e-mail.  I would like it to pull from variables so this script can be applied to all customers.

 

image.thumb.png.168ce28503d732c1903d72e889f0e993.png

 

image.thumb.png.4a44b665d85063e670717bbc5accfd51.png

Share this post


Link to post
Share on other sites

Use variable set to sql execute and query for the email you want. Then specify the variable into the email to fhbctuon. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×