This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Yahoo mails stuck in draft
#1
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
Reply
#2
Try
secure = 'tlsv1_2'
------------------------------
Ctrl+F5
Reply
#3
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.
Reply
#4
(11 hours ago)Daniel Wrote: Try
secure = 'tlsv1_2'

Still stuck in Draft...
Reply
#5
You can also use smtp2go.com . I use the free version and it works great.
Reply
#6
(9 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.
Reply
#7
You need to use you own domain
Reply
#8
(8 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...
Reply
#9
(11 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...
Reply
#10
Which firmware do you use?
------------------------------
Ctrl+F5
Reply


Forum Jump: