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.

email problem via sendgrid
#1
Hi,
Since gmail aut change, we were using sendgrid to send email and it was working wery well. But It has problem with 2024 fw and we don't know what is the problem. Here are my setting common functions.

  local settings = {
    -- "from" field, only e-mail must be specified here
    from = 'xxxxxxxxxxxxxxx@gmail.com',
    -- smtp username
    user = 'apikey',
    -- smtp password
    password = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    -- smtp server
    server = 'smtp.sendgrid.net',
    -- smtp server port
    port = 587,
    -- enable ssl, required for gmail smtp
    secure = 'starttls',
  }

This settings is working from another smtp email sender app but it does not work on LM with FW 2024. LM has internet connection.

Can you check sendgrid with LM 2024 fw, i will be glad
Reply
#2
log what the mail function returns:

Code:
res, err = mail(...)
log(res, err)
------------------------------
Ctrl+F5
Reply
#3
503 Must have valid receiver and originator
550 MIME message is missing 'From' header
Reply
#4
https://forum.logicmachine.net/showthread.php?tid=5242
Reply


Forum Jump: