view configuration.js @ 0:e459f344d8bd

First commit.
author Sonny Piers <sonny.piers@gmail.com>
date Wed, 15 Jun 2011 06:10:47 +0200
parents
children c1a19866a233
line wrap: on
line source

var config = exports;

//This is the configuraton for the XMPP component
config.XMPP = {
	jid: "mailer.localhost",
	password: "54321",
	host: "localhost",
	port: "5347",
	name: "SMTP gateway that allows you to send mail"
};
//This is the default SMTP configuration used only if config.defaultSMTP is set to true
config.SMTP = {
	host: "smtp.example.com",
	port: 465,
	authentication: "login",
	username: "example(@example.com)",
	from: "example@example.com",
	password: "exemple",
	ssl: true
};
//Enable easy SMTP configuration for user when register to the component (use http://ispdb.mozillamessaging.com/ database)
config.easySMTPConf = true;
//Enable user to send mail without registering to the component, will use config.SMTP settings
config.defaultSMTP = true;