Mercurial > xmpp2smtp
comparison configuration.js @ 5:c1a19866a233 default/master
Fix some bugs with SMTP settings.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Wed, 15 Jun 2011 07:55:28 +0200 |
parents | e459f344d8bd |
children |
comparison
equal
deleted
inserted
replaced
4:9dd291d1eebe | 5:c1a19866a233 |
---|---|
10 }; | 10 }; |
11 //This is the default SMTP configuration used only if config.defaultSMTP is set to true | 11 //This is the default SMTP configuration used only if config.defaultSMTP is set to true |
12 config.SMTP = { | 12 config.SMTP = { |
13 host: "smtp.example.com", | 13 host: "smtp.example.com", |
14 port: 465, | 14 port: 465, |
15 authentication: "login", | 15 ssl: true, |
16 username: "example(@example.com)", | 16 use_authentication: true, |
17 from: "example@example.com", | 17 user: "example(@example)", |
18 password: "exemple", | 18 pass: "example", |
19 ssl: true | 19 sender: "example@example" |
20 }; | 20 }; |
21 //Enable easy SMTP configuration for user when register to the component (use http://ispdb.mozillamessaging.com/ database) | 21 //Enable easy SMTP configuration for user when register to the component (use http://ispdb.mozillamessaging.com/ database) |
22 config.easySMTPConf = true; | 22 config.easySMTPConf = true; |
23 //Enable user to send mail without registering to the component, will use config.SMTP settings | 23 //Enable user to send mail without registering to the component, will use config.SMTP settings |
24 config.defaultSMTP = true; | 24 config.defaultSMTP = true; |