annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
1 var config = exports;
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
2
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
3 //This is the configuraton for the XMPP component
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
4 config.XMPP = {
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
5 jid: "mailer.localhost",
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
6 password: "54321",
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
7 host: "localhost",
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
8 port: "5347",
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
9 name: "SMTP gateway that allows you to send mail"
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
10 };
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
11 //This is the default SMTP configuration used only if config.defaultSMTP is set to true
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
12 config.SMTP = {
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
13 host: "smtp.example.com",
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
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
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
20 };
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
21 //Enable easy SMTP configuration for user when register to the component (use http://ispdb.mozillamessaging.com/ database)
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
22 config.easySMTPConf = true;
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
23 //Enable user to send mail without registering to the component, will use config.SMTP settings
e459f344d8bd First commit.
Sonny Piers <sonny.piers@gmail.com>
parents:
diff changeset
24 config.defaultSMTP = true;