Application to replay through Exchange 2007

I have a developer who using Ruby on Rails to develop application for
our company. I’m work as Exchange admin. The developer will develop an
application (intranet) which will trigger email and relay via our
exchange 2007, so that staff able to receive email from intranet.
Currently we having problem with sending mail portion. The developer
usinf Action Mailer like below:

Address = smtp.domain.com
User_name = [email protected]
Password = xxxx
domain = domain.com

Every time, this application try to relay email, it will show an
authentication error. The develope show the error to me. From exchange
side, I’m already trusted the application IP address to allow it relay
email.

May some body help on this, since I’m not famaliar with ruby.

Actually they try using this:

#########################################################
# Email settings.
#########################################################
email_config = <<-EOF
  ActionMailer::Base.delivery_method = :smtp
  ActionMailer::Base.smtp_settings = {
    :address => ?
    :port => ?
    :authentication => ?
    :user_name => ?
    :password => ?
    :domain => ?
  }

and when they try to use:

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
:address => ‘mail.domain.no’,
:port => ‘25’,
:domain => ‘domain here’
}

the application will hangs and generated error. They try to use
external smtp, the app. able to relay the email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs