lua-sendmail icon indicating copy to clipboard operation
lua-sendmail copied to clipboard

Usage of sendmail on Lua v5.1.5

Open nodecentral opened this issue 2 years ago • 0 comments

Hi I have a embedded Lua install that is v5.1.5 - I need to send email to a smtp server using TLS 1.2 , will this code help me.. I have existing script using Luasocket and luasec etc. but I’m being notified by the mail service that 1.0 and 1.1 are going to no longer be supported.

To fit this in to my existing set up - Is it possible to set Lua-sendmail up as a library (module) for me to call the required function ? If so, would I just add the following to the top of you script

module("lua_sendmail", package.seeall)

nodecentral avatar Feb 15 '23 10:02 nodecentral