Skip to content

Fighting with email alerts in redMine

I recently switched the Intuitive Desktop development site from using MediaWiki to redMine. Now redMine is fantastic, and has almost everything I need to replace the typical smörgåsbord of applications people usually use. But, I still can’t get it to send email messages.

I’ve looked around on Google and the redMine forums, and I can’t even find anyone that is using this software on a community project. I’m not one to do this kind of thing, but “layzweb, help me! Fix the code below!”


# part of environment.rb
# SMTP server configuration
config.action_mailer.smtp_settings = {
:address => "mail.intuitive-desktop.org",
:port => 25,
:domain => "intuitive-desktop.org",
:authentication => :login,
:user_name => "secret"
:password => "password",
}

config.action_mailer.perform_deliveries = true

# Tell ActionMailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
#config.action_mailer.delivery_method = :test
config.action_mailer.delivery_method = :smtp

5 Comments

  1. admin wrote:

    Got it to work. :)
    I guess you have to use sendmail, and use the open relay.

    # SMTP server configuration
    config.action_mailer.smtp_settings = {
    :address => “mail.intuitive-desktop.org”,
    :port => 25,
    :domain => “intuitive-desktop.org”,
    :authentication => :plain
    }

    config.action_mailer.perform_deliveries = true
    config.action_mailer.delivery_method = :sendmail

    Thursday, August 2, 2007 at 4:55 pm | Permalink
  2. Benson wrote:

    Just in case you haven’t found a solution yet:

    # SMTP server configuration
    config.action_mailer.smtp_settings = {
    :address => “intuitive-desktop.org”, #note that i have moved “mail.” to the
    #domain part
    :port => 25,
    :domain => “mail.intuitive-desktop.org”, # moved “mail.” here
    :authentication => :login,
    :user_name => “secret”
    :password => “password”,
    }

    Wednesday, March 5, 2008 at 11:08 pm | Permalink
  3. admin wrote:

    I did find a solution, but thanks anyway!

    Thursday, March 6, 2008 at 7:34 pm | Permalink
  4. Nuno Job wrote:

    Actually you don’t need to change that file. You should do it in mail.rb.

    Instructions on how to use it with dreamhost email would also be nice :) Maybe I’ll get the time to describe the process

    Wednesday, January 7, 2009 at 8:44 pm | Permalink
  5. mattjones wrote:

    Wow. This post is so old that I forgot what I was even talking about.

    I’m not using redmine any more (even though I still like it). Hopefully someone will find the advice useful though.

    Awesome idea to document the process on Dreamhost. Maybe you can get the info into their wiki.

    Thursday, January 8, 2009 at 6:27 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*