-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error occurred [loop]: UID command error: BAD [b'Command Argument Error. 11'] #9
Comments
Hello, I have the same problem with both the mail of yahoo.es/mailfence.com Greetings. |
Google Mail: <2> Mail to Telegram Forwarder: Error occurred [loop]: UID command error: BAD [b'Could not parse command']. Data: b'HCDI6 UID SEARCH UID *\r\n' |
Google mail is not 100% imap compliant, from 0.1.2 version of forwarder I'm using modification.
|
Good morning, I have made the modifications but I get the same error. I don't know if I've done them right, if you can leave me your file mailToTelegramForwarder.py complete with the modifications I would appreciate it. Mail to Telegram Forwarder: Error occurred [loop]: UID command error: BAD [b'Could not parse command']. Data: b'KCIE6 UID SEARCH UID *\r\n' Thank you |
Here you go: Also replace <...> tags in my m2t2.conf if you use one to suffice your needs. Needed to install python 3.9 to get whole script to work so lookup at top interpreter declaration. |
Thanks |
Hello, with what you sent me it works for me although it only works when there is an unread email if there is more than one does not forward them to Telegram It happens to you too? Thank you |
you are right - never received more than one message in one loop so never tested this issue |
Problem was when +1 messages appear, whole array was shown as UID - that was obvious error.
You can filter interesting emails by tag (folder) and additionally by any other option that IMAP query supports (look at my previous post about UNSEEN HEADER FROM). |
* Read this thread: awalon#9
* Read this thread: awalon#9
definitely @lacrimal patch fixes the issue. It would be cool to merge it into awalon:master as well. |
hello!
i got the following error when connect to Exchange OWA mailbox via IMAP
<2> Mail to Telegram Forwarder: Error occurred [loop]: UID command error: BAD [b'Command Argument Error. 11']. Data: b'EBCB6 UID SEARCH UID *\r\n' [/opt/rr-rps-mail-to-telegram-forwarder/mailToTelegramForwarder.py:1051 in 'main']
The text was updated successfully, but these errors were encountered: