Mercurial > xmpp2smtp
view configuration.js @ 7:1776fb122b80 default tip master
Aknowlegements.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Mon, 20 Jun 2011 17:07:25 +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;