Mercurial > xmpp2smtp
view configuration.js @ 6:5cf8a08ef7fe
Fix errors in disco#info.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Wed, 15 Jun 2011 12:25:18 +0200 |
parents | c1a19866a233 |
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;