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 wont send
#1
I get this result from a email sending. 
It takes one minute from start to result comes back, says wantread?
What does this mean?


--
 
script
    log (mail_aktiv)
    res, err = mail("ruh@tratec.no", mail_tittel, mail_aktiv )
  log(res,err)
log('mail sendt')

--

log
Event for Test mail (32/4/1) 27.02.2025 09:13:42
* string: Dette er en test av epost
Event for Test mail (32/4/1) 27.02.2025 09:14:42
* arg: 1
  * nil
* arg: 2
  * string: wantread
Event for Test mail (32/4/1) 27.02.2025 09:14:42
* string: mail sendt
Reply
#2
Which security mode and port are you using?
Reply
#3
FW 20230607

server = 'smtp.office365.com',
-- smtp server port
port = 587,
-- enable tls, required for gmail smtp sslv23 tlsv1_2
secure = 'tlsv1_2',

i have also tried --
smtp server
server = 'send.one.com',
-- smtp server port
port = 465,
-- enable tls, required for gmail smtp sslv23 tlsv1_2
secure = 'tlsv1_2',
Reply
#4
Use these settings:
Code:
-- smtp server port
port = 587,
-- enable STARTTLS
secure = 'starttls',
Reply
#5
Then I get this result

* arg: 1
* nil
* arg: 2
* string: timeout

firewall?
Reply
#6
Can be firewall. Which SMTP server are you using? smtp.office365.com should work with port 587 and starttls mode, not sure about the second SMTP server.
Reply


Forum Jump: