![]() |
Yahoo mails stuck in draft - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Yahoo mails stuck in draft (/showthread.php?tid=5844) |
Yahoo mails stuck in draft - baggins - 15.01.2025 When gmail changed their mail policy I changed to yahoo to send notification mails. In the past this worked well, but today I have found out that since quite a while, the mails were not sent. To be precise, the mails are sent from my LM and processed by Yahoo, but in the Yahoo mailbox they end up in the Drafts folder, so they are not sent to the recipient... Should I change something in the Local Settings from Common functions to make this work again? This is what I have now: Code: local settings = { Nothing else is changed in the Common functions RE: Yahoo mails stuck in draft - Daniel - 15.01.2025 Try secure = 'tlsv1_2' RE: Yahoo mails stuck in draft - admin - 15.01.2025 log what the mail function returns: Code: res, err = mail(...) Most likely this is some security change on the mail server side. Many providers are disabling simple user/password authentication and require additional user interaction which cannot be automated. RE: Yahoo mails stuck in draft - baggins - 15.01.2025 (15.01.2025, 11:14)Daniel Wrote: Try Still stuck in Draft... RE: Yahoo mails stuck in draft - Fcs - 15.01.2025 You can also use smtp2go.com . I use the free version and it works great. RE: Yahoo mails stuck in draft - baggins - 15.01.2025 (15.01.2025, 13:22)Fcs Wrote: You can also use smtp2go.com . I use the free version and it works great. @Fcs: How do I create an account? No matter what email address I enter, I get an error: Error code 6 - Emails on the shared domain cannot be used. RE: Yahoo mails stuck in draft - Fcs - 15.01.2025 You need to use you own domain RE: Yahoo mails stuck in draft - baggins - 15.01.2025 (15.01.2025, 14:26)Fcs Wrote: You need to use you own domain So my gmail or yahoo mail account won't work? On their website there is a note somewhere: If you've created an account with a gmail address and your sending from a new domain etc Update: I contacted smtp2go and they confirmed that I had to use my own domain... RE: Yahoo mails stuck in draft - baggins - 15.01.2025 (15.01.2025, 11:41)admin Wrote: log what the mail function returns: With sslv23 I get: nil string: 554 6.6.0 Error sending message for delivery. With tlsv1_2 (and port (587) I get: nil string: unknown type in record hdr It is strange that with sslv23 the message is accepted but ends up in the Drafts... RE: Yahoo mails stuck in draft - Daniel - 15.01.2025 Which firmware do you use? RE: Yahoo mails stuck in draft - baggins - 15.01.2025 (15.01.2025, 15:54)Daniel Wrote: Which firmware do you use? 20160714. I know this is very old, but this LM4 has a third party library running on it that interferes with firmware updates or rather a firmware update messes up the third party library ![]() In the mean time I'm back in business as far as sending mail is concerned. While I was trying to figure out what was wrong with the mail, I suddenly received a mail from the LM! I have a script running that sends me a picture of my door camera whenever someone rings the bell. I had completely forgotten but in that script is a mail function to send mails with an attachment. When I looked at the credentials, they where for gmail. Now I remember vaguely that when google changed their mail settings there was a workaround described here: https://forum.logicmachine.net/showthread.php?tid=4076&pid=26361#pid26361 I probably have done this and used those credentials in the camera script, but not in the Common functions where I had started to use yahoo. I have now used the gmail credentials from the camera script in the mail function in the Common functions and this works ok... I still will be looking into the yahoo issue... RE: Yahoo mails stuck in draft - baggins - 16.01.2025 (15.01.2025, 11:41)admin Wrote: log what the mail function returns: I gave up on yahoo since I got gmail to work again, but I wanted to try my standard mail provider to have backup just in case... This provider uses starttls as security protocol. I modified the mail script to reflect that and changed port to 587. Now I receive the following: testing 16.01.2025 11:42:58 * string: unknown type in record hdr testing 16.01.2025 11:42:58 * nil RE: Yahoo mails stuck in draft - admin - 16.01.2025 STARTTLS is not supported in your firmware. It won't work by simply changing the port number as the encryption initialization is different from normal TLS mode. RE: Yahoo mails stuck in draft - baggins - 16.01.2025 (16.01.2025, 10:54)admin Wrote: STARTTLS is not supported in your firmware. It won't work by simply changing the port number as the encryption initialization is different from normal TLS mode. Too bad, but that's life... Thanks. |