Mercurial > xmpp2smtp
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e459f344d8bd |
---|---|
1 var config = exports; | |
2 | |
3 //This is the configuraton for the XMPP component | |
4 config.XMPP = { | |
5 jid: "mailer.localhost", | |
6 password: "54321", | |
7 host: "localhost", | |
8 port: "5347", | |
9 name: "SMTP gateway that allows you to send mail" | |
10 }; | |
11 //This is the default SMTP configuration used only if config.defaultSMTP is set to true | |
12 config.SMTP = { | |
13 host: "smtp.example.com", | |
14 port: 465, | |
15 authentication: "login", | |
16 username: "example(@example.com)", | |
17 from: "example@example.com", | |
18 password: "exemple", | |
19 ssl: true | |
20 }; | |
21 //Enable easy SMTP configuration for user when register to the component (use http://ispdb.mozillamessaging.com/ database) | |
22 config.easySMTPConf = true; | |
23 //Enable user to send mail without registering to the component, will use config.SMTP settings | |
24 config.defaultSMTP = true; |