Skip to content

如何为验证过邮箱的账号自动修改密码(How to change password automatically for accounts with verified emails)

Khalil edited this page Aug 27, 2023 · 3 revisions
  1. 登陆自己的邮箱,然后在设置中打开IMAP这个功能!!!(部分邮箱可能默认开启)
  2. 为配置文件中的imapServer,imapUsername,imapPassword填好信息. 例如: imapServer: "imap.qq.com"
    imapUsername: "yudaotor@qq.com"
    imapPassword: "xxxxxxxxxxxxxxxxx"
  3. imapServer这一项常用邮箱的是:
    outlook: outlook.office365.com
    Gmail: imap.gmail.com (谷歌邮箱不可用,不过可以在谷歌邮箱中设置转发到其他邮箱中,然后使用其他邮箱来接收即可) qqmail: imap.qq.com
    网易163邮箱: imap.163.com
    网易126邮箱: imap.126.com
    如果没有自己的邮箱对应的请自行谷歌.
  4. imapUsername这一项填写自己邮箱账号
  5. imapPassword这一项填写登陆邮箱的密码,(注意,部分邮箱并非是使用邮箱密码,需要去邮箱设置中获取对应的登陆码:例如qq邮箱)
  6. 注意不要给邮箱开启二级验证,可能导致获取验证码失败.

如果想为不同邮箱的账号一次性完成改密该怎么办?
可以试试把不同邮箱的转发都转到同一个邮箱 再使用同一个邮箱来进行验证.


  1. Login to your mailbox, and then turn on the IMAP function in the settings!!!! (Some mailboxes may be enabled by default)
  2. fill in the information for imapServer,imapUsername,imapPassword in the configuration file. For example: imapServer: "imapUsername", "imapPassword". imapServer: "imap.qq.com"
    imapUsername: "yudaotor@qq.com"
    imapPassword: "xxxxxxxxxxxxxxxxxxxx"
  3. imapServer is commonly used by mailboxes.
    outlook: outlook.office365.com
    Gmail: imap.gmail.com (Google mail is not available, but you can set up forwarding to other mailboxes in Google mail, and then use other mailboxes to receive it) qqmail: imap.qq.com
    Netease 163 mailbox: imap.163.com
    Netease 126 mailbox: imap.126.com
    If you don't have your own email address, please google it.
  4. imapUsername fill in your email account.
  5. imapPassword this item fill in the password of login mailbox, (Note, some mailboxes are not using mailbox password, you need to go to the mailbox settings to get the corresponding login code: for example, qq mailbox)
  6. Don't open the second level authentication for mailbox, it may lead to the failure of getting the authentication code.

**If I want to change the password for different mailboxes at one time, what should I do? **.
You can try to transfer the forwarding of different mailboxes to the same mailbox and then use the same mailbox for verification.