diff --git a/plugins/modules/mail.py b/plugins/modules/mail.py index 825b82c135..13f7c5becd 100644 --- a/plugins/modules/mail.py +++ b/plugins/modules/mail.py @@ -205,10 +205,11 @@ EXAMPLES = r''' body: System {{ ansible_hostname }} has been successfully provisioned. secure: starttls -- name: Sending an e-mail using StartTLS, remote server, custom EHLO +- name: Sending an e-mail using StartTLS, remote server, custom EHLO, and timeout of 10 seconds community.general.mail: host: some.smtp.host.tld port: 25 + timeout: 10 ehlohost: my-resolvable-hostname.tld to: John Smith subject: Ansible-report