SMTP with server USERNAME & PASSWORD authorization

Has anyone been able to get SMTP emails working where the server requires user name and password to authenticate rather than IP address?
I am trying this with U5. The server I am using, unlike GMail, does not use SSL/STARTTLS, but it does authenticate with user name and password and not by IP address.
Like everyone else, I require(“socket.smtp”) but I get no emails when I run my tests.

Also, has anyone tried the alternate Lua SMTP from nmap.org, instead of the very questionable implementation available through socket.smtp?

I got it. The reason the emails were not being sent was because the ISP was blocking port 25 access for external SMTP servers.
As soon as I started using the ISP’s SMTP server for outgoing emails, they started coming.

Hello

i am also new to Vera, but i am interested to find out how i can send email using Luup code.

Can you show me what code you are using in order to make this work?

Have a look at the SND plugin, for example.

I use the send plugin and it works fine.