A Go package that facilitates sending emails with optional attachments using SMTP. It supports TLS for secure connections.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Urko. 1371889d6d
feat: add callback function to mock
2 months ago
examples refactor: project structure 2 months ago
internal refactor: project structure 2 months ago
pkg/email feat: add callback function to mock 2 months ago
.gitignore refactor: project structure 2 months ago
Makefile refactor: project structure 2 months ago
README.md refactor: project structure 2 months ago
go.mod refactor: rename module 2 months ago
go.sum feat: email service 2 months ago

README.md

Email Sender

Description

email-sender is a simple Go library designed to send emails with optional attachments. It's built on top of the standard Go net/smtp library with additional support for sending HTML emails and handling multiple attachments.

Features

  • Send HTML emails.
  • Attach multiple files to the email.
  • Built-in support for TLS encryption.
  • Simple API for sending emails.

Installation

Clone this repository:

git clone https://gitea.urkob.com/urko/emailsender.git

Usage

Check examples in examples

Dependencies

  • Go's standard net/smtp package
  • Go's standard crypto/tls package for secure email sending.

Contribution

Feel free to submit issues or pull requests if you find any bugs or have suggestions for improvements.