<commit_before><h1>goSES</h1>

Golang library for Amazon Web Services - Simple Email Service (AWS - SES)

<h3>Installation</h3>
<pre>
go get github.com/therahulprasad/goAwsSES
</pre>

<h3>Usage</h3>
<pre>
/**
  * @Argument:
  *     STRING: to, subject, body, from, toName, fromName, replyTo, replyToName
  * @Returns
  *     http://docs.aws.amazon.com/ses/latest/DeveloperGuide/query-interface-responses.html
  *     INT StatusCode => Code return by SES 
  *     SuccessXmlResponse by SES
  *     ErrorXmlResponse by SES
  *     err => error while Unmarshaling, error during http request
  */
StatusCode, SuccessXmlResponse, ErrorXmlResponse, err = SendSingleMail(to, subject, body, from, toName, fromName, replyTo, replyToName);
</pre><commit_msg>More examples added<commit_after><h1>goSES</h1>

Golang library for Amazon Web Services - Simple Email Service (AWS - SES)

<h3>Installation</h3>
<pre>
go get github.com/therahulprasad/goAwsSES
</pre>

<h3>Usage</h3>
<pre>
/**
  * @Argument:
  *     STRING: to, subject, body, from, toName, fromName, replyTo, replyToName
  * @Returns
  *     http://docs.aws.amazon.com/ses/latest/DeveloperGuide/query-interface-responses.html
  *     INT StatusCode => Code return by SES 
  *     SuccessXmlResponse by SES (Struct defined in ses.go, it contains MessageId and RequestId)
  *     ErrorXmlResponse by SES (Struct defined in ses.go, it contains Type, Code, Message, RequestId)
  *     err => error while Unmarshaling, error during http request
  */
StatusCode, SuccessXmlResponse, ErrorXmlResponse, err := SendSingleMail(to, 
                                                                        subject, 
                                                                        body, 
                                                                        from, 
                                                                        toName, 
                                                                        fromName, 
                                                                        replyTo, 
                                                                        replyToName);

// If you dont worry about error code 
_, _, _, err := SendSingleMail(to, subject, body, from, toName, fromName, replyTo, replyToName);
if err != nil {
 // Email reached SES
}

// If you care about error
_, _, ErrorXmlResponse, err := SendSingleMail(to, subject, body, from, toName, fromName, replyTo, replyToName);
if err != nil && ErrorXmlResponse.Code == "" {
 // Email reached SES and There was no Error on SES
} else if err != nil {
 // Email reached SES by There was an error on ses
 fmt.Println(ErrorXmlResponse.Message)
}

</pre>

<h4>Note:</h4>
Volunteers needed, alot can be enhanced in this library.
<ol>
  <li>Need someone to write test cases</li>
  <li>Need help to add alot of features</li>
</ol>
{'fraction_non_alphanumeric': 0.09810791871058164, 'fraction_numerical': 0.004905395935529082, 'mean_word_length': 1.916241062308478, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 23, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '549956', 'n_tokens_mistral': 801, 'n_tokens_neox': 769, 'n_words': 241}