R
rabarama
Problem: i get an email from a pop3 mailbox, i want to send it as an
attachment in another mail.
I get via Net:op a mail
i handle it via Tmail::mail
if i use this code, the attachment i receive is visible only via outlook or
other clients, webmails as gmail or yahoo can't open the attachment
i call the action mailer in this way
m is the mail NET:OP
mail is the tmail object
mailer_create_mail(tmail.to_s)
<action mailer code cut>
attachment :content_type => "message/rfc822",
:filename =>"new_email.eml",
:body => mail
<action mailer code cut>
Is there a way to encode the mail in a way every client can open it?
attachment in another mail.
I get via Net:op a mail
i handle it via Tmail::mail
if i use this code, the attachment i receive is visible only via outlook or
other clients, webmails as gmail or yahoo can't open the attachment
i call the action mailer in this way
m is the mail NET:OP
mail is the tmail object
mailer_create_mail(tmail.to_s)
<action mailer code cut>
attachment :content_type => "message/rfc822",
:filename =>"new_email.eml",
:body => mail
<action mailer code cut>
Is there a way to encode the mail in a way every client can open it?