Thank you for the tip! I've been hearing that the source is very readable, but I wasn't quite sure how to find it. I appreciate the help, very much.
-Jenny On Dec 31 2008, 9:11 pm, Jon Hancock <[email protected]> wrote: > Jenny, > Something to know about your search for docs. > There are some quickly evolving dos for merb in wikis, etc. But one of > the first places I look is the merb code itself, which is generally > more up to date. > For example, for merb-mailer, do this: > gem which merb-mailer > You'll get something like: > /Library/Ruby/Gems/1.8/gems/merb-mailer-1.0.7.1/lib/merb-mailer.rb > Take the path and open your editor to the root of this gem: > /Library/Ruby/Gems/1.8/gems/merb-mailer-1.0.7.1 > The source is generally easy to read and most of the README files or > other top level ruby files will contain current docs. > > god luck, Jon > > On Jan 1, 3:23 am, Jenny <[email protected]> wrote: > > > I'm looking through the tutorial:http://wiki.merbivore.com/howto/mailers > > using sendmail. > > > However, I'm a bit confused. When it says: > > > "def contact > > send_mail(ContactMailer, :notify, { > > :from => '[email protected]', > > :to => "[email protected]", > > :subject => "Free gym socks. Used!" > > }) > > " > > > What would I put in place of '[email protected]'? Does sendmail > > somehow assign me a name? Do I have to attach an existing name (such > > as a gmail account) to send mail for this to work? Can I just make > > something up and put it there? I used an existing gmail account (all I > > did was put it there, no associations or anything, which I don't think > > is right) and I got the following message (which seems to indicate > > that I did things right, according the the tutorial: > > > merb : worker (port 3000) ~ notify_on_event sent to [email protected] > > about =?utf-8?Q?Free_gym_socks._Used!?= > > > However, no e-mail is showing up at the account I expect it to. > > > I know I can hook it up into a gmail account by using a different > > configuration, but when I tried to do that, it timed out without doing > > anything. At least using sendmail it THINKS it's working. > > > Most tutorials I see on sendmail are php based, so I'm at a bit of a > > loss here. If anyone has any tips, or sees anything ridiculously wrong > > that I'm doing, let me know? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
