Looking for a feature (building MimeEntities out of attachments)

Hello,

The RT system itself is building MIME Entities out of transactions to
notify users.

Now we want to be able to “resend” such messages by a link in the history
page. We want to do this because sometimes it is more convenient to have a
transcation text in mail than in the web and to resend explanations to
customers, when their ticket has been merged into a ticket with an
explanantion which went to another customer.

I am looking for the rigt place for an abstraction to build MIME messages
out of a transaction, hence the following questions:

  1. Did anybody implement this before?

if not:

  1. where to put the method CreateMIMEEntityFromTransaction

a) in Transaction_Overlay.pm
b) in Attachments_Overlay.pm
c) in SendEmail.pm
d) or …

I look for another feature to send the complete correspondenc/comment
history of a ticket as a multipart/digest. Where to put this abstraction?

regards,
Dirk.

I am looking for the rigt place for an abstraction to build MIME messages
out of a transaction, hence the following questions:

  1. Did anybody implement this before?

“forwarding”, not so much “resending”

if not:

  1. where to put the method CreateMIMEEntityFromTransaction

I could see Transaction->AsMIMEEntity. but, do you want to regenerate
the mail as it was sent out by RT exactly? If so, you need to take
templates into account. And also, maybe it would be easier to use RT
3.2’s recorded outgoing mail as the source… and just add a “resend”
method for that.

a) in Transaction_Overlay.pm
b) in Attachments_Overlay.pm
c) in SendEmail.pm
d) or …

I look for another feature to send the complete correspondenc/comment
history of a ticket as a multipart/digest. Where to put this abstraction?

I could see maybe putting that in Transactions_Overlay.pm maybe. I
could also see it as a Template