EmailConfiguration » History » Version 3
Philippe Creux, 2009-06-04 12:17
Cosmetic
| 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 | 3 | Philippe Creux | The mail transport method to be used. @:async_smtp@ uses asynchronous send. Redmine does not wait the email to be sent to display the next page. |
| 18 | 1 | Cyber Sprocket | |
| 19 | Valid settings: |
||
| 20 | * :smtp |
||
| 21 | 2 | Philippe Creux | * :async_smtp |
| 22 | 1 | Cyber Sprocket | |
| 23 | |||
| 24 | h2. Example email.yml Configurations |
||
| 25 | |||
| 26 | h3. Simple Login Authentication (default settings) |
||
| 27 | |||
| 28 | <pre> |
||
| 29 | # Outgoing email settings |
||
| 30 | |||
| 31 | production: |
||
| 32 | delivery_method: :smtp |
||
| 33 | smtp_settings: |
||
| 34 | address: smtp.example.net |
||
| 35 | port: 25 |
||
| 36 | domain: example.net |
||
| 37 | authentication: :login |
||
| 38 | user_name: redmine@example.net |
||
| 39 | password: redmine |
||
| 40 | |||
| 41 | development: |
||
| 42 | delivery_method: :smtp |
||
| 43 | smtp_settings: |
||
| 44 | address: 127.0.0.1 |
||
| 45 | port: 25 |
||
| 46 | domain: example.net |
||
| 47 | authentication: :login |
||
| 48 | user_name: redmine@example.net |
||
| 49 | password: redmine |
||
| 50 | </pre> |
||
| 51 | |||
| 52 | |||
| 53 | h3. No Authentication |
||
| 54 | |||
| 55 | Example for an SMTP service provider with no authentication. Note the colon before none. |
||
| 56 | |||
| 57 | <pre> |
||
| 58 | production: |
||
| 59 | delivery_method: :smtp |
||
| 60 | smtp_settings: |
||
| 61 | address: smtp.knology.net |
||
| 62 | port: 25 |
||
| 63 | domain: cybersprocket.com |
||
| 64 | authentication: :none |
||
| 65 | </pre> |