Wechaty-Mail is an application based on Wechaty which can help you get notifications in WeChat when you receive new emails.
- Gmail
- Outlook
- 163,126(Netease mails)
- QQ mail
- Sina mail
- Please read this guide
- Make sure your environment configuration is OK
- Run Wechaty successfully :)
In order to receive mail in WeChat successfully, we need to authorize the mailbox and turn on the IMAP service.
- Log in your mailbox
- Find setting about IMAP/POP3/SMTP and turn on the IMAP service
- Log in your mailbox
- Find setting about IMAP/POP3/SMTP and turn on the IMAP service
- Set and remember your new authorization password
- Enter http://config.mail.163.com/settings/imap/[email protected]([email protected] is your own netease email address) and do as it says
- Log in your mailbox
- Find setting about IMAP/POP3/SMTP and turn on the IMAP service
- Set and remember your new authorization password
Notice : when use 163/126/QQ mail,you should input authorization code as password instead of your login password
Take Gmail as an example
var email_address = '[email protected]'
var email_password = 'xxxxxxxxx'
var imap = new Imap({
user: email_address,
password: email_password,
host: 'imap.gmail.com',
port: 993,
tls: true
})
Email Type | Imap Address | port |
---|---|---|
Gmail | imap.gmail.com | 993 |
Outlook | imap-mail.outlook.com | 993 |
imap.qq.com | 993 | |
163 | imap.163.com | 993 |
126 | imap.126.com | 993 |
sina | imap.sina.com | 993 |
MIT