mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 19:43:59 -07:00
mail: Fix charset encoding issue
This PR includes: - An important fix to charset encoding of from address - Documentation and examples cleanup - PEP8 fixes - Warning on insecure access - Strict parameter typing - More modern interface (using lists rather than comma, space or pipe-delimited strings) - Warn on failure to send mail to some recipients ``` [WARNING]: Failed to send mail to 'foobar': 550 5.1.1 <foobar>: Recipient address rejected: User unknown in local recipient table ``` - Warn on failure to parse some headers ``` [WARNING]: Skipping header 'Foobar', unable to parse ``` - Return failed recipients as return value - Changed default encoding to utf-8
This commit is contained in:
parent
5220f30244
commit
f5dded59c2
2 changed files with 158 additions and 170 deletions
|
@ -344,7 +344,6 @@ lib/ansible/modules/notification/grove.py
|
|||
lib/ansible/modules/notification/hall.py
|
||||
lib/ansible/modules/notification/irc.py
|
||||
lib/ansible/modules/notification/jabber.py
|
||||
lib/ansible/modules/notification/mail.py
|
||||
lib/ansible/modules/notification/mattermost.py
|
||||
lib/ansible/modules/notification/mqtt.py
|
||||
lib/ansible/modules/notification/osx_say.py
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue