2. Check if email.yml exists. If not create it by typing pico email.yml.
3. Place the following into this file:
- Code: Select all
# = Outgoing email settings
#
# Each environment has it's own configuration options. If you are only
# running in production, only the production block needs to be configured.
#
#
production:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
address: smtp.gmail.com
port: 587
authentication: :plain
user_name: 'username@gmail.com'
password: 'password'
development:
delivery_method: :smtp
smtp_settings:
tls: true
enable_starttls_auto: true
addres: smtp.gmail.com
port: 587
authentication: :plain
user_name: "username@gmail.com"
password: "password"
test:
delivery_method: :test
4. Please note that the above configuration is to setup redmine email to use gmails smtp server.
5. Replace username@gmail.com with your email address and replace password with your password.
6. Restart apache /etc/init.d/apache2 restart and you should be right to go.
7. Test this from within Redmine.
