mirror of https://github.com/caronc/apprise
Foxmail/qq.com and 163.com email template support (#529)
parent
a00ce74566
commit
cbbf8c3cf5
|
@ -235,7 +235,6 @@ EMAIL_TEMPLATES = (
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -253,6 +252,36 @@ EMAIL_TEMPLATES = (
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# 163.com
|
||||||
|
(
|
||||||
|
'163.com',
|
||||||
|
re.compile(
|
||||||
|
r'^((?P<label>[^+]+)\+)?(?P<id>[^@]+)@'
|
||||||
|
r'(?P<domain>163\.com)$', re.I),
|
||||||
|
{
|
||||||
|
'port': 465,
|
||||||
|
'smtp_host': 'smtp.163.com',
|
||||||
|
'secure': True,
|
||||||
|
'secure_mode': SecureMailMode.SSL,
|
||||||
|
'login_type': (WebBaseLogin.EMAIL, )
|
||||||
|
},
|
||||||
|
),
|
||||||
|
|
||||||
|
# Foxmail.com
|
||||||
|
(
|
||||||
|
'Foxmail.com',
|
||||||
|
re.compile(
|
||||||
|
r'^((?P<label>[^+]+)\+)?(?P<id>[^@]+)@'
|
||||||
|
r'(?P<domain>(foxmail|qq)\.com)$', re.I),
|
||||||
|
{
|
||||||
|
'port': 587,
|
||||||
|
'smtp_host': 'smtp.qq.com',
|
||||||
|
'secure': True,
|
||||||
|
'secure_mode': SecureMailMode.STARTTLS,
|
||||||
|
'login_type': (WebBaseLogin.EMAIL, )
|
||||||
|
},
|
||||||
|
),
|
||||||
|
|
||||||
# Catch All
|
# Catch All
|
||||||
(
|
(
|
||||||
'Custom',
|
'Custom',
|
||||||
|
|
Loading…
Reference in New Issue