Hi.. I try to send an attachment with a mail. I could be able to send the attachment. But the problem is it is an empty one. What can be the problem .. Please help me out this.... following is the code that i have used . unless cv.blank? attachment :body => cv.read, :filename => cv.original_filename end {cv=my pdf location} Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---