-
Notifications
You must be signed in to change notification settings - Fork 15
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
Trying to use with MailerSend, getting RECORD_OVERFLOW #30
Comments
Possibly related to issue #28 . Sorry you encounter the error, however the problem behind it is beyond the scope of uMail (nothing I can do to fix it).
|
The weird thing is some of the mail relays that do have SSL (MailJet, SendGrid) still return the TLS error. I'm thinking they have some kind of fall-back and are actually pushing SSL to TLS. Seems like the only ones I've found that actually use SSL are will work (if I could authenticate) are gmail and yahoo. Gmail got rid of their app password setup, and apparently I have to wait a while before yahoo will let me generate an app password. I've tried MicroPython 1.22 with no luck. I'm using Thonny, so I need to figure out how to go further back than 1.22. I'm going to look into how to recompile MicroPython with the larger CONTENT_LEN setting. I've read about that possibly fixing it previously but I'm not sure how to do it yet. Will keep you updated on my progress. |
You are right. Server can force a TLS connection from a non-SSL connection via the command STARTTLS, hence the TLS error. |
No dice. I was able to setup the MicroPython firmware repo and a Linux VM to run the ESP8266 port firmware build. Updated the file you referenced to 16384 and rebuild the firmware, flashed, and still same issue. I'm hoping my Yahoo account will start working and I can get an app password from there to see if it'll work like gmail previously did. |
ESP8266's port of micropython uses axTLS, not MbedTLS. You may need to edit the the port's |
Tried setting it to 8196 and 16384, but still the same error.
|
Interesting. |
Anyone get this working with a service like MailerSend? I get OSError: (-257, 'RECORD_OVERFLOW').
Code:
Result:
Appreciate any guidance. I have an SMTP server running on my Synology and I get the same result when using TLS. TLS is required for MailerSend (no SSL port option).
The text was updated successfully, but these errors were encountered: