i am now in the process of building a newsletter system which will send
out emails to users that have enlisted to a certain group;
everything’s going fine, and i an towards the end of this project…now
the real part of the story kicks in, where i need to check to see if the
thing is working or not. i have been looking over the development.log
file, and i see that the emails are being sent (it says “Sent Email…”)
to the correct users and everything is cool, except, it doesn’t really
work yet because i don’t have a smtp server installed yet, and so i
don’t really know if the actionmailer is really working, or if the
messages are misleading me. either way, i was wondering what i need to
DO/what i need to INSTALL/or CONFIGURE in order to see the email
physicaly being sent out to my email box. ( and open and read it ! )
is there some rails smtp server install/plugin (such as a webrick
extension?) or do i have to do this some other way (and then, how do i
do this?)
what do i put in here? or alternatevly, the only change for sendmail is
the one line above? what password/username do i put there?
You have to have access to an SMTP server. I use the one that my ISP
provides. The username and password come from that account. In my case,
the username is my full email address for the account. If you are
hosting your own SMTP server then you have to get it from your configs.
You will need to check with the server, whoever is hosting it.
well…i tried to install a local smtp server on my computer, and i
managed to send a test email regardless of the ror app, but via the app
it didn’t really work(obviously). either way, i am not that surprised
since i have never really dealt with emailing, and so, i was hoping to
get some reference to the whole subject (what sendmail is in contrast to
smtp or any other protocol, and what is a neccessity/luxury to define in
enviornment.rb [password, domain, authenticate etc])
any references (aside from api.rubyonrails, which is a very shallow one)
will be greatly appreciated.
thanks!
harp
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.