Skip to content

Usage of sendmail on Lua v5.1.5 #4

@nodecentral

Description

@nodecentral

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions