Commit b617bee8 authored by kimi's avatar kimi

add nodemailer dependencies and update README

parent 50863e00
...@@ -32,6 +32,14 @@ Example of `config.yml`: ...@@ -32,6 +32,14 @@ Example of `config.yml`:
letter_from: letter name <username@hostname.com> letter_from: letter name <username@hostname.com>
letter_subject: subject letter letter_subject: subject letter
If you use a smtp service included in [nodemailer-wellknown](https://github.com/nodemailer/nodemailer-wellknown) module you can simply fill `smtp_service` instead of 'smtp_host' and 'smtp_ssl':
smtp_user: username
smtp_password: password
smtp_service: Godaddy
letter_from: letter name <username@hostname.com>
letter_subject: subject letter
Once `config.yml` is created you should be able to use the `muletter` command in your working directory. Once `config.yml` is created you should be able to use the `muletter` command in your working directory.
......
...@@ -37,8 +37,7 @@ Example of config.yml ...@@ -37,8 +37,7 @@ Example of config.yml
smtp_user: username smtp_user: username
smtp_password: password smtp_password: password
smtp_host: smtp.hostname.com smtp_service: GoDaddy
smtp_ssl: true
letter_from: letter name <username@hostname.com> letter_from: letter name <username@hostname.com>
letter_subject: subject letter letter_subject: subject letter
`; `;
......
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
"node": ">= 4.0.0" "node": ">= 4.0.0"
}, },
"dependencies": { "dependencies": {
"emailjs": "^1.0.8" "nodemailer": "^2.7.2",
"nodemailer-wellknown": "^0.2.1"
}, },
"devDependencies": { "devDependencies": {
"maildev": "^0.14.0" "maildev": "^0.14.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment