Commit Graph

13 Commits (6d69956f83172f5e6b15103e7203ea0d0cce87b4)

Author SHA1 Message Date
Matt Martz a87cf4967e sys.exit removal for notification/mail.py 2016-12-08 11:33:25 -05:00
Toshio Kuratomi 7415accaa4 Add version_added to the subtype parameter 2016-12-08 11:32:54 -05:00
Arnaud Dematte b653b2d0fe Update mail.py to allow html content
Adding parameter subtype to allow html based content. The default behavior of text/plain has been preserved.
2016-12-08 11:32:54 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Brian Coca d344a3fde3 more string corrections 2016-12-08 11:32:39 -05:00
dhutty d0afdd0f5d Additional example, not using local_action 2016-12-08 11:32:37 -05:00
Matt Jaynes 6662b9ccef Remove mentions of 'msg' alias 2016-12-08 11:32:34 -05:00
Matt Jaynes 94f581b83a Document 'msg' param and fix examples
The 'msg' alias for 'subject' isn't in the documentation, so adding it.

In the gmail example, it uses both the 'subject' and 'msg' params, but 'msg' is an alias of 'subject', so you are essentially declaring the same param twice. If you use this example, then no subject is sent (I tested with gmail). Documentation example is updated to use 'body' as intended.

Also, updated the simple example to use 'subject' instead of the 'msg' alias since it is more explicit.
2016-12-08 11:32:34 -05:00
Ben Copeland 770bf6b35f Added example block for the "SMTP username and password" 2016-12-08 11:32:28 -05:00
Brian Coca 1537c297b3 fixed doc issue (missing description and corrected version added) 2016-12-08 11:32:28 -05:00
Ben Copeland 85f159eda3 Catch the error for non-ssl SMTP 2016-12-08 11:32:28 -05:00
Ben Copeland cf941fc23a adding username/password support along with ssl/starttls 2016-12-08 11:32:28 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00