auto-account-machine/src/tools/account-register/email-verification/email-config.js
dengqichen c1d1381edb aaaaa
2025-11-16 20:04:47 +08:00

34 lines
684 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Email Configuration
* 邮箱配置
*/
module.exports = {
// 主邮箱配置QQ邮箱 - 接收所有验证码)
primary: {
type: 'imap',
host: 'imap.qq.com',
port: 993,
user: '1695551@qq.com',
password: 'iogmboamejdsbjdh', // QQ邮箱授权码
tls: true,
tlsOptions: {
rejectUnauthorized: false
}
},
// 可以配置备用邮箱(未来扩展)
backup: {
// type: 'imap',
// host: '...',
// ...
},
// 邮件搜索配置
search: {
maxWaitTime: 60, // 最长等待时间(秒)
checkInterval: 3, // 检查间隔(秒)
maxEmails: 10 // 每次获取的邮件数量
}
};