Hi,
I am using 'tlsmail' in rails 2.3.5.I configured gmail its working fine.
Now I modify the below domain:
#setup tlsmail so we can send email through SSLed SMTP
require 'tlsmail'
Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.default_charset = "utf-8"
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
#:enable_starttls_auto => true,
:address => 'mail.ghabit.com',
:port => 25,
:domain => 'ghabit.com',
:authentication => :plain,
:user_name => '[email protected]',
:password => 'password'
}
I got the below error. Please anyone solve this issue help me.
Net::SMTPSyntaxError in UserController#signup
502 Unimplemented command.
RAILS_ROOT: E:/openwire/ghabit_app
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:787:in
`check_response'
c:/ruby/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:760:in
`getok'
c:/ruby/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:747:in
`starttls'
c:/ruby/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:478:in
`do_start'
c:/ruby/lib/ruby/gems/1.8/gems/tlsmail-0.0.1/lib/net/smtp.rb:440:in
`start'
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:682:in
`perform_delivery_smtp'
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:523:in
`__send__'
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:523:in
`deliver!'
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:429:in
`deliver'
E:/openwire/ghabit_app/app/controllers/user_controller.rb:1949:in
`signup_email'
E:/openwire/ghabit_app/app/controllers/user_controller.rb:203:in
`signup'
Request
Parameters:
{"user"=>{"date_of_birth(2i)"=>"5",
"date_of_birth(3i)"=>"3",
"country"=>"United States",
"agree"=>"1",
"sex"=>"Female",
"first_name"=>"Sundhari",
"last_name"=>"Bala",
"user_name"=>"sundhari",
"password"=>"sundhari",
"email"=>"[email protected]",
"date_of_birth(1i)"=>"1973"},
"commit"=>""}
Show session dump
Response
Headers:
{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}
Regards,
B.Sundhari
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core