Hello!
I've tried multiple times sending emails from my webscript using email.send, but I can't obtain any letters.
I used 2 options - gmail SMTP and hetzner SMTP. HTTP status code of my webscript was 200.
I've tried to analyze return value of email.send, but it always return some empty value:
res = email.send { ... }
I understand, that I can make mistakes, but I should have opportunity to fix them using some error codes/error messages from email.send.
Is there any way to know result of execution of email.send?
E.g. when somebody uses Python smtp, this module usually throws meaningful exception, when something goes wrong.
Problem code example:
local password = 'secure pass'
email.send {
server=server, username=username, password=password,
from=username,
subject='EPIC FAIL with localhost',
text='DEAD, AAAA!'
}