I have wasted few days and I'm not getting anywhere. I was trying to
follow tutorial on Rails Guides and this one:
Ruby on Rails - Send Emails .
All I need is to be able to send some text, nothing fancy. Why in
Rails it has to be so difficult? Why it can't be so simple as in PHP?
Can anybody point me to some good simple tutorial, explaining how to
do it from the beginning to the end?
I don't want some tutorial that tries to explain lots of complicated
stuff, skipping things needed by beginners.
Start a new project, make those changes, fire up the server with
script/server, navigate to http://localhost:3000/test/send_mail, then
look in your development log. You should see something that resembles
what is below.
Now everything works fine on my system. Adding config line marked with
'####' to make rails use :sendmail and restarting mongrel made
everything work perfectly.
Yah. I left that one for you to find yourself. Good job!
Glad it's working for you now. I hope your experience with Rails is
less frustrating from now on. When I first came to Rails about 3 years
ago, it took me a couple of months to get my head wrapped around both
Ruby and Rails. But once I did, I really felt at home and became a
much happier programmer