Skip to content

epikur-io/glua-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

An email client (smtp) for gopher-lua

A simple email client for gopher-lua. This library is based on https://github.com/jordan-wright/email for its email functionallity.

Example

	local email = require("email")
	
	local myEmail = email.new()
	myEmail:from("address@domain.com")
	myEmail:to({
		"someemail@domain.com"
	})
	myEmail:html([[
		<h1>Hello</h1>
		<p>User</p>
	]])
	
	myEmail:text([[
hello
user
	]])

	myEmail:sendTLS("account@email.com", {
		-- Auth config
		identity = "address@fomain.com";
		username = "username";
		password = "password";
		host = "mail.domain.com";
	}, {
		-- TLS config
		insecureSkipVerify = true;
	})
	

About

Email (smtp client) for gopher-lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages