There is a demand for the project recently , It involves sending mail , The enterprise mailbox of Alibaba used by the sender , There are some pits :

1. I've been looking for the authorization code at the beginning / Service password , Later, I asked Ali's customer service to find out , The original Alibaba enterprise mailbox is not like QQ mailbox , Netease mailbox has authorization code , So the login password is the service password ;

2. in limine smtp Server address smtp.aliyun.com, It didn't work out , Later, it was changed to smtp.mxhichina.com available ;

3. The final configuration is as follows :

Netease email :

SMTP_HOST = "smtp.163.com" ; // server address ; Alicloud :smtp.mxhichina.com
FROM = "nishar1@163.com" ; // From ( mailbox ), This mailbox needs to be opened smtp service
FROM_USER_PASSWORD = "123456" ; // Email service password , This password is not a mailbox login password , Alicloud's login password is the service password ;

Alibaba enterprise email :

SMTP_HOST = "smtp.mxhichina.com" ; // server address ; Alicloud :smtp.mxhichina.com
FROM = "yjwy@mymail.com" ; // From ( mailbox ), This mailbox needs to be opened smtp service
FROM_USER_PASSWORD = "123456" ; // Email service password , Alicloud's login password is the service password ;

Technology
©2019-2020 Toolsou All rights reserved,
It's unexpected Python Cherry tree (turtle The gorgeous style of Library )Unity3D of UGUI Basics -- Three modes of canvas os Simple use of module computer network --- Basic concepts of computer network ( agreement , system )html Writing about cherry trees , Writing about cherry trees Some East 14 Pay change 16 salary , Sincerity or routine ?Unity-Demo Examples ✨ realization UI- Backpack equipment drag function 06【 Interpretation according to the frame 】 Data range filtering -- awesome java Four functional interfaces ( a key , simple )