Mercurial > xmpp2smtp
annotate 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 |
rev | line source |
---|---|
0 | 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, | |
5
c1a19866a233
Fix some bugs with SMTP settings.
Sonny Piers <sonny.piers@gmail.com>
parents:
0
diff
changeset
|
15 ssl: true, |
c1a19866a233
Fix some bugs with SMTP settings.
Sonny Piers <sonny.piers@gmail.com>
parents:
0
diff
changeset
|
16 use_authentication: true, |
c1a19866a233
Fix some bugs with SMTP settings.
Sonny Piers <sonny.piers@gmail.com>
parents:
0
diff
changeset
|
17 user: "example(@example)", |
c1a19866a233
Fix some bugs with SMTP settings.
Sonny Piers <sonny.piers@gmail.com>
parents:
0
diff
changeset
|
18 pass: "example", |
c1a19866a233
Fix some bugs with SMTP settings.
Sonny Piers <sonny.piers@gmail.com>
parents:
0
diff
changeset
|
19 sender: "example@example" |
0 | 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; |