view configuration.js @ 5:c1a19866a233 default/master

Fix some bugs with SMTP settings.
author Sonny Piers <sonny.piers@gmail.com>
date Wed, 15 Jun 2011 07:55:28 +0200
parents e459f344d8bd
children
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,
	ssl: true,
	use_authentication: true,
	user: "example(@example)",
	pass: "example",
	sender: "example@example"
};
//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;