<commit_before># Nette Foundation for Emails

[ZURB Foundation for Emails](https://github.com/zurb/foundation-emails) with Inky markup integration into 
Nette framework including a simple mail service to send email messages generated from 
[nette/latte](https://github.com/nette/latte) templates with provided mail factory.

## Requirements

- PHP 7.0+
- Nette 2.4+

## Installation

```bash
composer require vitrozsival/nette-foundation-emails
```

## Configuration

Register `mailFactory` extension in your config:

```neon
services:
	mailFactory: NetteFoundationEmails\DI\MailFactoryExtension
```

Then you can configure the extension with following parameters:
<commit_msg>readme updated<commit_after># Nette Foundation for Emails

[ZURB Foundation for Emails](https://github.com/zurb/foundation-emails) with Inky markup integration into 
Nette framework including a simple mail service to send email messages generated from 
[nette/latte](https://github.com/nette/latte) templates with provided mail factory.

## Requirements

- PHP 7.0+
- Nette 2.4+

## Installation

```bash
composer require vitrozsival/nette-foundation-emails
```

## Configuration

Register `mailFactory` extension in your config:

```neon
extensions:
	mailFactory: NetteFoundationEmails\DI\MailFactoryExtension
```

Then you can configure the extension with following parameters:

{'fraction_non_alphanumeric': 0.09137803979366249, 'fraction_numerical': 0.0058953574060427415, 'mean_word_length': 5.466666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1576285', 'n_tokens_mistral': 409, 'n_tokens_neox': 390, 'n_words': 127}