Hmmm...I'm not using my home connection, but there is still a possibility SMTP is getting blocked... The problem being that I don't have access to the servers we'll be using until the holiday season is over ^_^;; Oh well, I guess this is just one thing I can't work on yet. Thanks for the response!
-jenny On Dec 31, 2:32 pm, Zack Ham <[email protected]> wrote: > Keep in mind if you are testing this on your home connection, there is > a good chance that your ISP is blocking outgoing SMTP. Make sure to > test your code on the server you will be hosting your app on, as it > will quite likely work as expected there. > > Zack > > On Dec 31, 2008, at 11:23 AM, Jenny 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 -~----------~----~----~----~------~----~------~--~---
