Quantcast
Channel: Software Communities : Popular Discussions - ActiveRoles
Viewing all articles
Browse latest Browse all 1277

Send email in script module using default EDS-Mail-Configuration settings

$
0
0

Hi

 

Following a recent update to 6.7 I am looking to revisit some of our processes and original VB scripts. Currently we have a lot a scripts that call a 'library' script to send an email. I want to improve on this and also ensure the scripts have a better lifecycle by using the build in 'EDS-Mail-Configuration' elements to provide the transport method.

 

Is it possible to use this in script modules? My initial target is a part of our administrative user deprovision process where an account marked for deprovision has an email sent to its owner saying its inactive and has been deprovisioned.

 

I know its possible to use the send-mailmessage command, but hardcoding the smtp server details does not seem to be most practical / extensible.

 

Thanks,

 

Paul


Viewing all articles
Browse latest Browse all 1277

Trending Articles