問題タブ [g1ant]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
gmail - G1ANT imap がメールを取得しない問題を修正するには?
この G1ANT ロボットにテスト メール ID から未読メールを取得させようとしています♥list
が、未読メールが 2 件ある場合でも、取得されたリストのカウントは 0 です。どうすればこれを回避できますか? エラーメッセージも表示されません。
コマンドimap.getemails
の代わりに使用してみましたが、同じ結果が返されます。mail.imap
その行のコードは次のとおりです。
mail.imap imap.getmails host imap.gmail.com port 993 login ♥login password ♥password onlyunreadmessages true sincedate ♥date ignorecertificateerrors true result ♥list
メールアドレスでIMAPが有効になっています。
コードは次のとおりです。
エラー メッセージは表示されず、単にオートメーションが終了します。