<commit_before># Go-mailer
Async and sync golang mailer

## Installing
```bash
go get github.com/gronpipmaster/go-mailer
```

## Usage
```golang
//create mail server
mailServer := mailer.New("example.com:587", "from", "pass")
//listen and wait messages
go mailServer.Listen()
//create message
subject := "Hi"
body := "Hello <a href=\"#\">Some link</a>"
msg := mailer.NewHtmlMessage(
    []string{"<EMAIL>"},
    "<EMAIL>",
    "from username",
    subject,<commit_msg>small update readme<commit_after># Go-mailer
Async and sync golang mailer

## Installing
```bash
go get github.com/gronpipmaster/go-mailer
```

## Usage
```go
//create mail server
mailServer := mailer.New("example.com:587", "from", "pass")
//listen and wait messages
go mailServer.Listen()
//create message
subject := "Hi"
body := "Hello <a href=\"#\">Some link</a>"
msg := mailer.NewHtmlMessage(
    []string{"<EMAIL>"},
    "<EMAIL>",
    "from username",
    subject,
{'fraction_non_alphanumeric': 0.18550106609808104, 'fraction_numerical': 0.006396588486140725, 'mean_word_length': 4.427745664739884, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5668441', 'n_tokens_mistral': 334, 'n_tokens_neox': 317, 'n_words': 87}