mirror of
https://github.com/caronc/apprise.git
synced 2024-11-22 08:04:02 +01:00
Foxmail/qq.com and 163.com email template support (#529)
This commit is contained in:
parent
a00ce74566
commit
cbbf8c3cf5
@ -235,7 +235,6 @@ EMAIL_TEMPLATES = (
|
||||
},
|
||||
),
|
||||
|
||||
|
||||
# SendGrid (Email Server)
|
||||
# You must specify an authenticated sender address in the from= settings
|
||||
# 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
|
||||
(
|
||||
'Custom',
|
||||
|
Loading…
Reference in New Issue
Block a user