Rails Learner wrote:
> Hi Friends!
> 
> I have a controller action that can render the response in pdf format as
> well as html format.
> 
> Now, I need to attach a pdf file rendered by the above action to an
> email on the fly.
> How can I do this?
> What is the the best practice?

Not everything has an official "best practice".  But if I were you, I 
wouldn't do this.  I don't like getting large attachments.  What I 
recommend instead is to send an e-mail message with the URL for the 
generated PDF file.
> 
> Many thanks!!!!!

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to