我正在尝试打开我的主邮箱的子邮箱,但它不起作用。我在调试模式下收到以下错误。
'A5 NO [NONEXISTENT] 未知邮箱:收件箱/[Gmail](失败)'
但是当我列出邮箱时,我可以看到 [Gmail] 框存在,所以我不明白出了什么问题。
<= '* LIST (\\HasNoChildren) "/" "INBOX"'
<= '* LIST (\\HasChildren \\Noselect) "/" "[Gmail]"'
这是创建错误的代码(我使用的是 imap-simple):
const connection = await imaps.connect(this.imapConfig);
const inbox = await connection.openBox('INBOX/[Gmail]');
请问你能帮帮我吗?