mirror of
https://github.com/caronc/apprise.git
synced 2024-11-23 00:23:11 +01:00
Zoho emails use port 587; support zohomail.com too
This commit is contained in:
parent
83e3fdc048
commit
21d7ef1ff4
@ -220,21 +220,22 @@ EMAIL_TEMPLATES = (
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
||||||
# Zoho Mail
|
# Zoho Mail (Free)
|
||||||
(
|
(
|
||||||
'Zoho Mail',
|
'Zoho Mail',
|
||||||
re.compile(
|
re.compile(
|
||||||
r'^((?P<label>[^+]+)\+)?(?P<id>[^@]+)@'
|
r'^((?P<label>[^+]+)\+)?(?P<id>[^@]+)@'
|
||||||
r'(?P<domain>zoho\.com)$', re.I),
|
r'(?P<domain>zoho(mail)?\.com)$', re.I),
|
||||||
{
|
{
|
||||||
'port': 465,
|
'port': 587,
|
||||||
'smtp_host': 'smtp.zoho.com',
|
'smtp_host': 'smtp.zoho.com',
|
||||||
'secure': True,
|
'secure': True,
|
||||||
'secure_mode': SecureMailMode.SSL,
|
'secure_mode': SecureMailMode.STARTTLS,
|
||||||
'login_type': (WebBaseLogin.EMAIL, )
|
'login_type': (WebBaseLogin.EMAIL, )
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
# SendGrid (Email Server)
|
# SendGrid (Email Server)
|
||||||
# You must specify an authenticated sender address in the from= settings
|
# You must specify an authenticated sender address in the from= settings
|
||||||
# and a valid email in the to= to deliver your emails to
|
# and a valid email in the to= to deliver your emails to
|
||||||
|
Loading…
Reference in New Issue
Block a user