Skip to content

Commit b6eac76

Browse files
committed
add AttachFileWithName to readme
1 parent 2cbfc49 commit b6eac76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ e := NewEmail()
6060
e.AttachFile("test.txt")
6161
```
6262

63+
#### Attaching a File with custom file name
64+
```go
65+
e := NewEmail()
66+
e.AttachFileWithName("internalName.txt", "publicName.txt")
67+
```
68+
6369
#### A Pool of Reusable Connections
6470
```go
6571
(var ch <-chan *email.Email)

0 commit comments

Comments
 (0)