I am writing a script to do some testing and I want to send an email within the script. I would like to use the SMTP settings, if they exist, that are contained within the octopus deploy system itself rather than having them as input textboxes in the step itself.
How can I:
A) Get the smtp information from octopus deploy to send the email
- or -
B) Send an email within my powershell script with an attachment.
Thanks!