How to send attached tar.gz file on ruby mail sending. If anyone aware already, please let me know. Regards, S.Vellingiri. -- Posted via http://www.ruby-forum.com/.
2009/9/10 Arul hari <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > How to send attached tar.gz file on ruby mail sending. If anyone aware > already, please let me know. >Better to use pastie (http://pastie.org/) and post url here. Colin
Colin Law wrote:> 2009/9/10 Arul hari <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>: >> >> How to send attached tar.gz file on ruby mail sending. If anyone aware >> already, please let me know. >> > > Better to use pastie (http://pastie.org/) and post url here.I think the OP was asking how to send a tarball attachment from a Rails app...> > ColinBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
You could either look into sending it as a MIME attachment (see the ActionMailer docs), or put it in a subdirectory of public/ on your app server and include a URL. However, you should also consider that unless your recipients are OSX/ Linux users, they''re going to need extra software to open the file, as Windows doesn''t support those formats natively. --Matt Jones On Sep 10, 8:25 am, Arul hari <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> How to send attached tar.gz file on ruby mail sending. If anyone aware > already, please let me know. > > Regards, > S.Vellingiri. > -- > Posted viahttp://www.ruby-forum.com/.