0.2.2 • Published 10 years ago

xmail v0.2.2

Weekly downloads
2
License
BSD-2-Clause
Repository
github
Last release
10 years ago

xmail

A small library providing utility method to send email

Usage

Create a file on your root application directory called mail.json. This will hold the configuration for your mail server.

{
	"user":"<mail server username>",
	"password":"<mail server password>",
	"host":"<smpt host server>",
	"ssl":"<use ssl?>",
	"login_required": <Boolean-if username and password is required to connect to your smpt server.>,
	"port":"<port number>",
	"noreply_from":"from field will be replaced by this whenever the from field is not specified."
}

That's it! Include this in your application just any other node modules.

And ohh! The only method there is is "SendMail", just provide few params and that's it. Here's an example:

SendMail(email_to, body, subject, email_from, email_bcc, email_cc,callbackfunction(err,response)
{

});

Release History

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.0

10 years ago