Ruby on Rails Saturday, October 2, 2010

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

On Oct 1, 1:32 am, Suriya <suriya.eh...@gmail.com> wrote:
> 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 = t...@domain.com
> 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.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment