appears an authentication error.
could u see the previous post of ActionMailer? "actionmailer-giving-trouble-mails-sent-acc-logs-not-received":http://workingwithrails.com/forums/4-ask-a-rails-expert/topics/1288-actionmailer-giving-trouble-mails-sent-acc-logs-not-received. I explain a basic way to send emaisl with Gmail.
I am using Gmail with a TLS plugin, but I not using the parameter: enable_starttls_auto in the configuration.
Try checking the ActionMailer settings.
Hi Fernando, thanks for reply.
I checked settings and seems they are right. Actually i already installed TLS plugin. but this file is seperate file and will run from outside. thats why i wrote all the models again in this file. Do we need to configure tls plugin in the ruby file . I was unable to figure out where it is going wrong . Please Let me know if need more info from me .
thanks in advance.
I tried your code, and I could reproduce the error with Rails 2.3.5, but works fine with Rails 2.3.8.
U can try two options:
1 - upgrade to Rails 2.3.8 (not need to use specific TLS gems)
gem update rails
2 - use the gmail_sender gem "Gmail Sender":http://github.com/dcadenas/gmail_sender
Follow the instructions. It's easy to configure and use, and if it's necessary, also intall tlsmail ( gem install tlsmail )
The two options I have tried recently and work well.
I hope this helps