New in version 2014.7.0.
This state is useful for firing messages during state runs, using the SMTP protocol
server-warning-message: smtp.send_msg: - name: 'This is a server warning message' - profile: my-smtp-account - recipient: [email protected]
Send a message via SMTP
server-warning-message: smtp.send_msg: - name: 'This is a server warning message' - profile: my-smtp-account - subject: 'Message from Salt' - recipient: [email protected] - sender: [email protected] - use_ssl: True - attachments: - /var/log/syslog - /var/log/messages
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.smtp.html