search for: send_pdf

Displaying 1 result from an estimated 1 matches for "send_pdf".

Did you mean: send_df
2008 Mar 13
0
Template being ignored when attaching pdf in e-mail
...@recipients = email @from = "test-J0of1frlU80@public.gmane.org" @sent_on = Time.now @content_type = "text/html" attachment :content_type => "application/pdf", :filename => "notice.pdf", :transfer_encoding => "send_pdf" do |a| a.body = generate_pdf(notice_request) end end def generate_pdf(notice_request) pdf = PDF::Writer.new(:paper => "LETTER") pdf.select_font ''Times-Roman'' pdf.text "HELLO WORLD", :font_size => 17, :justifica...