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,
|
|
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;
|