Forum: Ruby on Rails ActionMailer + ISP SMTP

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9d4b34b85ff031185ff01b27e316ce9f?d=identicon&s=25 gonen (Guest)
on 2007-06-11 14:01
(Received via mailing list)
Hi
I'm new here, and pretty much new on the rails.

I'm trying to set up my application to send emails (needed for salted
hash login)
but i keep getting errors.

i'm sure port 25 is not blocked since i'm able to
send mails
through PHP scripts.

my smtp settings in config/enviroment.rb are:
# Include your app's configuration here:
ActionMailer::Base.smtp_settings = {
  :address  => "smtp.012.net.il",
  :port  => 25,
  :domain  => "localhost",
  :user_name  => "USERNAME",
  :password  => "PASS",
  :authentication  => :login
    }

and i also tried with:
  :authentication  => :plain

and:
without :domain
with :domain => "mydomain.com",
with :domain => "www.012.net.il",
without username and password

nothing worked...

i don't want to use local smtp (like sendmail) because i'm on a
dynamic IP
and other service providers (like walla\gmail) often block mails from
Dyn IP

any help would be most appreciated

Thanks,
Gonen
F8fd420c52b193f9435535eaf787b834?d=identicon&s=25 Timothy Riendeau (Guest)
on 2007-06-11 14:03
(Received via mailing list)
Use ":authentication => nil" if your ISP does not require authentication
for
SMTP traffic.

--Tim
This topic is locked and can not be replied to.