add vendoring

This commit is contained in:
Aine
2022-11-16 12:08:51 +02:00
parent 14751cbf3a
commit c1d33fe3cb
1104 changed files with 759066 additions and 0 deletions

20
vendor/gitlab.com/etke.cc/go/trysmtp/README.md generated vendored Normal file
View File

@@ -0,0 +1,20 @@
# trySMTP
Library that tries to connect to SMTP host by TO/target email address:
* Lookup MX and A
* Try to connect to SMTP on different ports
* Try to use STARTTLS if server supports it
* Return SMTP Client with `Mail()` and `Rcpt()` already called
```go
from := "sender@example.com"
to := "target@example.org"
client, err := trysmtp.Connect(from, to)
if err != nil {
// something went wrong!
}
client.Data([]byte("your email data here"))
```