EmailConfiguration » History » Version 1
Cyber Sprocket, 2009-05-18 22:11
| 1 | 1 | Cyber Sprocket | h1. Email Configuration |
|---|---|---|---|
| 2 | |||
| 3 | h2. Configuration Directives |
||
| 4 | |||
| 5 | This page is a work in progress, the following configuration directives is only a partial list. |
||
| 6 | |||
| 7 | h3. authentication |
||
| 8 | |||
| 9 | The type of authentication method expected by your service provider. |
||
| 10 | |||
| 11 | Valid settings: |
||
| 12 | * :login |
||
| 13 | * :none |
||
| 14 | |||
| 15 | h3. delivery_method |
||
| 16 | |||
| 17 | The mail transport method to be used. |
||
| 18 | |||
| 19 | Valid settings: |
||
| 20 | * :smtp |
||
| 21 | |||
| 22 | |||
| 23 | h2. Example email.yml Configurations |
||
| 24 | |||
| 25 | h3. Simple Login Authentication (default settings) |
||
| 26 | |||
| 27 | <pre> |
||
| 28 | # Outgoing email settings |
||
| 29 | |||
| 30 | production: |
||
| 31 | delivery_method: :smtp |
||
| 32 | smtp_settings: |
||
| 33 | address: smtp.example.net |
||
| 34 | port: 25 |
||
| 35 | domain: example.net |
||
| 36 | authentication: :login |
||
| 37 | user_name: redmine@example.net |
||
| 38 | password: redmine |
||
| 39 | |||
| 40 | development: |
||
| 41 | delivery_method: :smtp |
||
| 42 | smtp_settings: |
||
| 43 | address: 127.0.0.1 |
||
| 44 | port: 25 |
||
| 45 | domain: example.net |
||
| 46 | authentication: :login |
||
| 47 | user_name: redmine@example.net |
||
| 48 | password: redmine |
||
| 49 | </pre> |
||
| 50 | |||
| 51 | |||
| 52 | h3. No Authentication |
||
| 53 | |||
| 54 | Example for an SMTP service provider with no authentication. Note the colon before none. |
||
| 55 | |||
| 56 | <pre> |
||
| 57 | production: |
||
| 58 | delivery_method: :smtp |
||
| 59 | smtp_settings: |
||
| 60 | address: smtp.knology.net |
||
| 61 | port: 25 |
||
| 62 | domain: cybersprocket.com |
||
| 63 | authentication: :none |
||
| 64 | </pre> |