<commit_before>Mailjet Bridge
==============

Provides Mailjet integration for Symfony Mailer.

Configuration examples:

```dotenv
# API
MAILER_DSN=mailjet+api://$PUBLIC_KEY:$PRIVATE_KEY@default
# SMTP
MAILER_DSN=mailjet+smtp://$PUBLIC_KEY:$PRIVATE_KEY@default
```

Custom headers
--------------

Api transport converts headers below to certain message properties.

```php
$email->getHeaders()
    // TemplateLanguage
    ->addTextHeader('X-MJ-TemplateLanguage', '1') // true
    // TemplateID
    ->addTextHeader('X-MJ-TemplateID', '12345') // int
    // TemplateErrorReporting
    ->addTextHeader('X-MJ-TemplateErrorReporting', '{"Email": "<EMAIL>","Name": "Error Email"}') // json
    // TemplateErrorDeliver
    ->addTextHeader('X-MJ-TemplateErrorDeliver', '1') // true
    // Variables
    ->addTextHeader('X-MJ-Vars', '{"varname1": "value1","varname2": "value2", "varname3": "value3"}')
    // CustomID
    ->addTextHeader('X-MJ-CustomID', 'CustomValue')
    // EventPayload
    ->addTextHeader('X-MJ-EventPayload', 'Eticket,1234,row,15,seat,B')
    // CustomCampaign
    ->addTextHeader('X-Mailjet-Campaign', 'SendAPI_campaign')
    // DeduplicateCampaign
    ->addTextHeader('X-Mailjet-DeduplicateCampaign', '1') // true
    // Priority
    ->addTextHeader('X-Mailjet-Prio', '2') // int
    // TrackClick
    ->addTextHeader('X-Mailjet-TrackClick', "account_default")
    // TrackOpen
    ->addTextHeader('X-Mailjet-TrackOpen', "account_default");
```

Resources
---------

 * [Contributing](https://symfony.com/doc/current/contributing/index.html)
 * [Report issues](https://github.com/symfony/symfony/issues) and
   [send Pull Requests](https://github.com/symfony/symfony/pulls)
   in the [main Symfony repository](https://github.com/symfony/symfony)
<commit_msg>Remove specific docs that are not useful as duplicate from the official docs<commit_after>Mailjet Bridge
==============

Provides Mailjet integration for Symfony Mailer.

Configuration examples:

```dotenv
# API
MAILER_DSN=mailjet+api://$PUBLIC_KEY:$PRIVATE_KEY@default
# SMTP
MAILER_DSN=mailjet+smtp://$PUBLIC_KEY:$PRIVATE_KEY@default
```

Resources
---------

 * [Contributing](https://symfony.com/doc/current/contributing/index.html)
 * [Report issues](https://github.com/symfony/symfony/issues) and
   [send Pull Requests](https://github.com/symfony/symfony/pulls)
   in the [main Symfony repository](https://github.com/symfony/symfony)

{'fraction_non_alphanumeric': 0.18061309030654515, 'fraction_numerical': 0.008699254349627174, 'mean_word_length': 4.296052631578948, 'pattern_counts': {'":': 5, '<': 4, '<?xml version=': 0, '>': 17, 'https://': 8, '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': '2763680', 'n_tokens_mistral': 821, 'n_tokens_neox': 789, 'n_words': 130}