links on message page (back to list, reply, forward)
This commit is contained in:
parent
a997c9d97a
commit
9c9ccc429d
4 changed files with 11 additions and 10 deletions
|
@ -140,13 +140,13 @@ class CDF::Mail
|
|||
end
|
||||
|
||||
def reply(tmail, fb, type)
|
||||
decoded_subject = mime_encoded?(tmail.subject) ? mime_decode(tmail.subject) : tmail.subject
|
||||
self.subject = "[Re: #{decoded_subject}]"
|
||||
tm = tmail.setup_reply(tmail)
|
||||
self.to = tm.to
|
||||
footer = ""
|
||||
msg_id = ""
|
||||
mt = MailTransform.new
|
||||
decoded_subject = mime_encoded?(tmail.subject) ? mime_decode(tmail.subject) : tmail.subject
|
||||
self.subject = "Re: #{decoded_subject}"
|
||||
tm = tmail.create_reply
|
||||
self.to = tm.to
|
||||
footer = ""
|
||||
msg_id = ""
|
||||
mt = MailTransform.new
|
||||
self.body = mt.get_body(tmail, type)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue