unused variable removed and cleaned.
variable updated to caps
Added CallMeBot API for WhatsApp Notifications.
Add Discord notification
removed -- at beginning of subject
Removed newline at the end of subject, added MIME-Version header
To escape characters '_', '*', '`', '[' outside of an entity, prepend the characters '\' before them.
fix _exists error message if MAIL_BIN env variable is not set
Reverted the original patch and changed it to the obvious simple solution provided by @Neilpang.
(fix shellcheck failure)
Signed-off-by: Mike Beattie <mike@ethernal.org>
This messes with markdown parsing Signed-off-by: Mike Beattie <mike@ethernal.org>
Secure by default. Also try to minimize configuration errors. (Many ESPs/ISPs require STARTTLS, and most support it.)
Improves standards compatibility and utf-8 handling in Python 3.3-3.8. (email.policy.default becomes the default in Python 3.9.)
Just in case, make sure CR or NL don't end up in an email header.
Add and use _readaccountconf_mutable_default and _saveaccountconf_mutable_default helpers to capture common default value handling. New approach also eliminates need for separate underscore-prefixed version of each conf var.
Also add X-Mailer header to Python version
I will not try to use whitespace to group code visually