Displaying 1 result from an estimated 1 matches for "gvlopdxszis".
2007 Feb 10
0
email attachment is not sending properly
...age file(.jpeg).
but when i check my inbox it shows me image file as binary contents in
tha mail itself. its not showing me an attachment.
please help me.
code in my model is:
class MyMailer < ActionMailer::Base
def sent(msg)
@subject = "Abc here...!"
@recipients = "xx-GVlOpdXsZis@public.gmane.org"
@from = "xx-GVlOpdXsZis@public.gmane.org"
@sent_on = Time.now
#content_type "text/html"
@body = {}
part :content_type => ''text/html'',
:body => msg
attachment :content_type => "image/jpeg&qu...