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: admins@example.com
salt.states.smtp.
send_msg
(name, recipient, subject, sender=None, profile=None, use_ssl='True')¶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: admin@example.com
- sender: admin@example.com
- use_ssl: True
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy