<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vv3</id>
	<title>Request Tracker Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vv3"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/wiki/Special:Contributions/Vv3"/>
	<updated>2026-08-22T09:03:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=MailtoLinksFromTransactions&amp;diff=26441</id>
		<title>MailtoLinksFromTransactions</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MailtoLinksFromTransactions&amp;diff=26441"/>
		<updated>2016-11-23T10:26:15Z</updated>

		<summary type="html">&lt;p&gt;Vv3: Fixed formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I hate using a web browser for composing mail. I much prefer to use my&lt;br /&gt;
regular email client when responding to RT tickets. However, browsing ticket&lt;br /&gt;
history is better done in a web browser. I wanted to combine these needs.&lt;br /&gt;
&lt;br /&gt;
Using the brilliant callback-mechanism in RT, I insert some mailto&lt;br /&gt;
hyperlinks at the top of each Transaction in RT, when clicked, an email&lt;br /&gt;
response is generated in my email client ready to be edited.&lt;br /&gt;
&lt;br /&gt;
I simply created the file&lt;br /&gt;
/html/Callbacks/COMPANY/Ticket/Elements/ShowTransaction/AfterDescription&lt;br /&gt;
in my local RT directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
% if ($Transaction-&amp;gt;Type eq &#039;Correspond&#039; or $Transaction-&amp;gt;Type eq &#039;Comment&#039; or $Transaction-&amp;gt;Type eq &#039;Create&#039;) {&lt;br /&gt;
   | &amp;amp;lt;a href=&amp;quot;mailto:&amp;lt;% $Ticket-&amp;gt;QueueObj-&amp;gt;CorrespondAddress %&amp;gt;?subject=&amp;lt;% $subject|u%&amp;gt;&amp;amp;references=&amp;lt;% $message_id|nu %&amp;gt;&amp;amp;body=&amp;lt;% $content | un%&amp;gt;&amp;quot;&amp;amp;gt;Email reply&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
   | &amp;amp;lt;a href=&amp;quot;mailto:&amp;lt;% $Ticket-&amp;gt;QueueObj-&amp;gt;CommentAddress %&amp;gt;?subject=&amp;lt;% $subject|u%&amp;gt;&amp;amp;references=&amp;lt;% $message_id|nu %&amp;gt;&amp;amp;body=&amp;lt;% $content | un%&amp;gt;&amp;quot;&amp;amp;gt;Email comment&amp;amp;lt;/a&amp;amp;gt;&lt;br /&gt;
% }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%init&amp;gt;&lt;br /&gt;
my $Ticket = $Transaction-&amp;gt;TicketObj;&lt;br /&gt;
my $subject = &amp;quot;[&amp;quot;.$RT::Config-&amp;gt;Get(&#039;rtname&#039;).&amp;quot; #&amp;quot;.$Ticket-&amp;gt;Id.&amp;quot;] &amp;quot;.$Ticket-&amp;gt;Subject;&lt;br /&gt;
my $content = $Transaction-&amp;gt;Content(&#039;Quote&#039; =&amp;gt; 1, &#039;Wrap&#039; =&amp;gt; 75, &#039;Type&#039; =&amp;gt; &#039;text/plain&#039;);&lt;br /&gt;
my $message_id = $Transaction-&amp;gt;Message-&amp;gt;First-&amp;gt;GetHeader (&#039;Message-ID&#039;) if $Transaction-&amp;gt;Message-&amp;gt;First; &lt;br /&gt;
&amp;lt;/%init&amp;gt; &lt;br /&gt;
&amp;lt;%args&amp;gt;&amp;lt;&lt;br /&gt;
$Transaction &lt;br /&gt;
&amp;lt;/%args&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Vv3</name></author>
	</entry>
</feed>