<commit_before>Docker aws-ses
=============

Sending email using AWS SES service. Requirements to run the container:

* You have verified sender address with AWS SES service
* The EC2 instance has role-based SES service access or you pass in AWS credentials the container.

This repo triggers auto-build and push images to dockerhub.com/u/xueshanf/aws-ses.

Build the image

Rebuild image. This will upgrade the package too:

```
core@n1 git clone https://github.com/xueshanf/docker-aws-ses.git
core@n1 docker build -t xueshanf/aws-ses .
```

Use the image
========

```
core@n1 /usr/bin/docker run --rm
   -v /path/to/.aws:/root/.aws \
   -e FROM=<EMAIL> \
   -e TO="<EMAIL>,<EMAIL> \
   -e SUBJECT="This is a test" \
   -v /path/to/message.txt:/tmp/message.txt xueshanf/aws-ses 
```<commit_msg>syntax fixes.<commit_after>Docker aws-ses
=============

Sending email using AWS SES service. Requirements to run the container:

* You have verified sender address with AWS SES service
* The EC2 instance has role-based SES service access or you pass in AWS credentials the container.

This repo triggers auto-build and push images to dockerhub.com/u/xueshanf/aws-ses.

Build the image

Rebuild image. This will upgrade the package too:

```
core@n1 git clone https://github.com/xueshanf/docker-aws-ses.git
core@n1 docker build -t xueshanf/aws-ses .
```

Use the image
========

```
core@n1 /usr/bin/docker run --rm \
   -v /path/to/.aws:/root/.aws \
   -e FROM=<EMAIL> \
   -e TO="<EMAIL>,<EMAIL>" \
   -e SUBJECT="This is a test" \
   -v /path/to/message.txt:/tmp/message.txt xueshanf/aws-ses 
```
{'fraction_non_alphanumeric': 0.14357366771159874, 'fraction_numerical': 0.005015673981191223, 'mean_word_length': 3.4210526315789473, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '844625', 'n_tokens_mistral': 571, 'n_tokens_neox': 538, 'n_words': 177}