<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Does anyone have any working samples of code that create tickets from Outlook mails via REST?<o:p></o:p></p><p class=MsoNormal>We receive mail to our personal accounts that needs to converted into tickets, we can either drag into a folder that is polled by fetchmail and passed to RT or copy and paste the ticket info. I’d like to just be able to click a button and have it work.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I used a few examples and setup a VBA macro to URLEncode the data and pass it to a perl script, which called the use RT; and new RT::Ticket method, but It was intermittently failing due to a MIME issue.. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>You would then select one or more message and click a macro button, which would post the mail data to the perl script, which created the ticket, but something was off and I’m not proficient in perl enough to debug it inside the MIME module.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-CA'>Chad Osmond<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-CA'><a href="mailto:chad.osmond@compfitness.com">chad.osmond@compfitness.com</a><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-CA'>Technical Support<br>Compfitness - Keeping your Computer Systems in Shape!<br>905-443-3171 work - 905-447-6485 mobile<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>