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 not leaving Spacelynk - "Try again" return
#1
Hi,

This is my 1st time using the email function from Spacelynk.

I have an email account just to test several systems.

I always use the SendMail tool to test the email configuration settings.

These settings are working fine:

   

OR

   


But using the same settings in Spacelynk doesn't seems to be working:

Code:
function mail(to, subject, message)
  -- make sure these settings are correct
  local settings = {
   
    from = 'xxxxxx@sapo.pt',
   
    user = 'xxxxxx@sapo.pt',
 
    password = 'xxxxxxxxxx',
   
    server = 'smtp.sapo.pt',
   
    port = 465,
   
    --secure = 'tlsv1_2',
    secure = 'sslv23',
  }

And an Event to trigger the sending of the email:

Code:
log(mail('xxxxxxx@gmail.com', 'test', 'test'))


I tried SSL and TLS in the common functions but the result is the same.

I always get the "Try again" response

Code:
* arg: 1
  * nil
* arg: 2
  * string: Try again

I tried several combinations (port 25, with no secure), but with no success unfortunately ...

Any suggestion to try ?

Thank you
Reply
#2
Check that you have gateway and DNS set correctly.
Reply


Forum Jump: