Skip to content

Commit

Permalink
add AttachFileWithName to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sata51 committed Mar 12, 2019
1 parent 2cbfc49 commit b6eac76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ e := NewEmail()
e.AttachFile("test.txt")
```

#### Attaching a File with custom file name
```go
e := NewEmail()
e.AttachFileWithName("internalName.txt", "publicName.txt")
```

#### A Pool of Reusable Connections
```go
(var ch <-chan *email.Email)
Expand Down

0 comments on commit b6eac76

Please sign in to comment.