Logic Machine Forum
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 = {
    -- "from" field, only e-mail must be specified here
   
    from = 'XXX@yahoo.com',
    -- smtp username
   
    user = 'XXX@yahoo.com',
    -- smtp password
   
    password = 'YYYYYYY',
    -- smtp server
   
    server = 'smtp.mail.yahoo.com',
    -- smtp server port
    port = 465,
    -- enable ssl, required for gmail smtp
    secure = 'sslv23',

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(...)
log(res, err)

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

(5 hours ago)Daniel Wrote: Try
secure = 'tlsv1_2'

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

(3 hours ago)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

(2 hours ago)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

(5 hours ago)admin Wrote: log what the mail function returns:
Code:
res, err = mail(...)
log(res, err)

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.

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?