[wtr-general] Re: How to send the email by Ruby script?

2009-06-08 Thread Wesley Chen
Mailfactory works great, it can send the attachments freely. http://mailfactory.rubyforge.org/ Thanks. Wesley Chen. On Sun, Jun 7, 2009 at 5:56 PM, tknv rreedd...@gmail.com wrote: Hello et.,al. I think this blog is help attach file. Example use Gmail:SMTP.

[wtr-general] Re: How to send the email by Ruby script?

2009-06-07 Thread tknv
Hello et.,al. I think this blog is help attach file. Example use Gmail:SMTP. http://gusortiz.wordpress.com/2009/01/05/sending-mail-smtp-gmail-with-attachment-using-ruby-on-rails-actionmailer/ And also when I use Gmali:SMTP by ruby. I'd used require 'smtp-tls' for using Gmail:SMTP. There you can

[wtr-general] Re: How to send the email by Ruby script?

2009-06-05 Thread Felipe Knorr Kuhn
Did you try the following? SMTPhttp://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/classes/Net/SMTP.htmlAuthentication The Net::SMTPhttp://www.ruby-doc.org/stdlib/libdoc/net/smtp/rdoc/classes/Net/SMTP.htmlclass supports three authentication schemes; PLAIN, LOGIN and CRAM MD5. (

[wtr-general] Re: How to send the email by Ruby script?

2009-06-05 Thread Wesley Chen
Hi, Felipe, Thank you very much, it is really helpful, :). There is a great contributor below. http://notepad.onghu.com/2007/3/26/sending-email-with-ruby When I run the code, anything goes expected. I have searched for the results for hours, your one word gets it fixed. :), thank you again.

[wtr-general] Re: How to send the email by Ruby script?

2009-06-05 Thread Wesley Chen
But do you know how to send an attachment in the email? Thanks. Wesley Chen. On Sat, Jun 6, 2009 at 1:12 AM, Wesley Chen cjq@gmail.com wrote: Hi, Felipe, Thank you very much, it is really helpful, :). There is a great contributor below.

[wtr-general] Re: How to send the email by Ruby script?

2009-06-05 Thread Felipe Knorr Kuhn
Sending attachments via net/smtp can be a pain. The following links are outdated but might still be useful: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/130390 http://www.tutorialspoint.com/ruby/ruby_sending_email.htm Please share your solution after you're done :) FK 2009/6/5

[wtr-general] Re: How to send the email by Ruby script?

2009-06-05 Thread Željko Filipin
On Fri, Jun 5, 2009 at 7:24 PM, Wesley Chen cjq@gmail.com wrote: But do you know how to send an attachment in the email? I think you can do it with Tmail. http://tmail.rubyforge.org/ Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this