Skip to content

Commit

Permalink
Fork and cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeedleFake committed Nov 29, 2021
1 parent 81ebce5 commit d2c99d1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 37 deletions.
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
# Gomail
[![Build Status](https://travis-ci.org/go-gomail/gomail.svg?branch=v2)](https://travis-ci.org/go-gomail/gomail) [![Code Coverage](http://gocover.io/_badge/gopkg.in/gomail.v2)](http://gocover.io/gopkg.in/gomail.v2) [![Documentation](https://godoc.org/gopkg.in/gomail.v2?status.svg)](https://godoc.org/gopkg.in/gomail.v2)

## Introduction

Gomail is a simple and efficient package to send emails. It is well tested and
documented.
documented. This fork is based on Gomail v2 and adds context support, modules,
and similar newer features.

Gomail can only send emails using an SMTP server. But the API is flexible and it
is easy to implement other methods for sending emails using a local Postfix, an
API, etc.

It is versioned using [gopkg.in](https://gopkg.in) so I promise
there will never be backward incompatible changes within each version.

It requires Go 1.2 or newer. With Go 1.5, no external dependencies are used.


## Features

Expand All @@ -29,17 +24,17 @@ Gomail supports:

## Documentation

https://godoc.org/gopkg.in/gomail.v2
https://godoc.org/github.com/DeedleFake/gomail


## Download

go get gopkg.in/gomail.v2
go get github.com/DeedleFake/gomail


## Examples

See the [examples in the documentation](https://godoc.org/gopkg.in/gomail.v2#example-package).
See the [examples in the documentation](https://godoc.org/github.com/DeedleFake/gomail#example-package).


## FAQ
Expand All @@ -56,7 +51,7 @@ bypass the verification of the server's certificate chain and host name by using
import (
"crypto/tls"

"gopkg.in/gomail.v2"
"github.com/DeedleFake/gomail"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"log"
"time"

"gopkg.in/gomail.v2"
"github.com/DeedleFake/gomail"
)

func Example() {
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/DeedleFake/gomail

go 1.17
Empty file added go.sum
Empty file.
1 change: 1 addition & 0 deletions mime.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build go1.5
// +build go1.5

package gomail
Expand Down
25 changes: 0 additions & 25 deletions mime_go14.go

This file was deleted.

0 comments on commit d2c99d1

Please sign in to comment.