<commit_before>waf-mail
==========

This is an easy to use module to send e-mails with Wakanda or Node.JS

It is also meant to be a complete advanced SMTP & POP3 client.


Installation
------------

Install through *NPM* (soonly available)

    npm install waf-mail

or download [ZIP archive](https://github.com/Wakanda/waf-mail/zipball/master).

The source for waf-mail is available at [GitHub](https://github.com/Wakanda/waf-mail).

### Compatibility

waf-mail is fully compatible with:
- Node.js versions 0.3.x, 0.4.x and 0.5.x on *nix, and 0.5.x on Windows
- Wakanda DP2 and upper on Minux, MacOS, & Windows


Documentation
------------

Read the full [documentation](http://doc.wakanda.org/SSJS-Modules/Mail.201-807580.en.html).


Issues
------
<commit_msg>add a reference to CPM<commit_after>waf-mail
==========

This is an easy to use module to send e-mails with Wakanda or Node.JS

It is also meant to be a complete advanced SMTP & POP3 client.


Installation
------------

The source for waf-mail is available at [GitHub](https://github.com/Wakanda/waf-mail).

### waf-mail for NodeJS

Install through *NPM* (soonly available)

    npm install waf-mail

or download [ZIP archive](https://github.com/Wakanda/waf-mail/zipball/master).

waf-mail is fully compatible with Node.js versions 0.3.x, 0.4.x and 0.5.x on *nix, and 0.5.x on Windows


### waf-mail for Wakanda

Download the [ZIP archive](https://github.com/Wakanda/waf-mail/zipball/master) and uncompress it in the "Module" folder of the Wakanda Server package.

waf-mail is fully compatible with Wakanda DP2 and upper on Linux, MacOS, & Windows


### Note

It should also be available next via [CPM (the CommonJS Package Manager)](https://github.com/kriszyp/cpm) proposed by [Krys Zip](https://twitter.com/#!/kriszyp)



Documentation
------------

Little example via createMessage():

    var username = 'john.smith'; // enter a valid account here
    var password = '<PASSWORD>';  // enter a valid password here
    var address = 'smtp.4dmail.com'; 
    var port = 465;  // SSL port 
    var mail = require('waf-mail/mail');
    var message = mail.createMessage("<EMAIL>", "<EMAIL>", "Test", "Hello World!");
    message.send(address , port , true, username, password);

Read the full [documentation](http://doc.wakanda.org/SSJS-Modules/Mail.201-807580.en.html).


Issues
------

{'fraction_non_alphanumeric': 0.14876385336743392, 'fraction_numerical': 0.017902813299232736, 'mean_word_length': 3.306422018348624, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '273634', 'n_tokens_mistral': 823, 'n_tokens_neox': 767, 'n_words': 250}