Add attachment support to SMTP state and module #47442
What does this PR do?
This PR adds support to sending out email messages containing one or more attachments specified through a new parameter called
The acceptable value for this parameter is a list of files present in the local filesystem that will be added as attachments to the outgoing email sent by the Salt state/module for SMTP.
What issues does this PR fix or reference?
When trying to deploy some automation bits where Salt generates a file periodically (for example, a client certificate) I have faced the issue that I cannot easily send out the generated file to a recipient through email.
The enhancement on this PR makes this particular use case possible.
All files in the minion filesystem specified as a list under the
Commits signed with GPG?
The text was updated successfully, but these errors were encountered:
The bot broke a little while ago. :(
Let's start by having you fix up these lint errors, please:
@cachedout hey! Builds seem to be failing now because of issues not related to the changes suggested in this PR. Could you please review it and send forward any other suggestions? I'm really keen to get this functionality added to Salt, either as I'm proposing or in any other way. Thanks!