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 Settings for local SNTP.
#1
Hi,
 
I’m wondering how to set the settings correctly for the email, the server I’m going to send an email to is on my local network. I don’t have any internet connection on this LAN. The information that I have about the server is an email address and an IP address. There is no security on this email server.
 
What is the correct way to set the settings below?


Code:
local settings = {
 -- "from" field, only e-mail must be specified here
 from = gmail_address,
 -- smtp username
 user = gmail_address,
 -- smtp password
 password = gmail_password,
 -- smtp server
 server = 'smtp.gmail.com',
 -- smtp server port
 port = 465,
 -- enable ssl, required for gmail smtp
 secure = 'sslv23',
}

BR Even Sundgot.
Reply
#2
Try these settings, change IP as needed:
Code:
local settings = {
  -- "from" field, only e-mail must be specified here
  from = gmail_address,
  -- smtp server
  server = '192.168.1.1',
  -- smtp server port
  port = 25,
}
Reply


Forum Jump: