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:
And an Event to trigger the sending of the email:
I tried SSL and TLS in the common functions but the result is the same.
I always get the "Try again" response
I tried several combinations (port 25, with no secure), but with no success unfortunately ...
Any suggestion to try ?
Thank you
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