Skip to content
/ xmail Public

A small library providing utility method to send email

Notifications You must be signed in to change notification settings

belmer/xmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?>",
	"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

About

A small library providing utility method to send email

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published