<?xml version="1.0" encoding="windows-1252"?>
<node id="585442" title="Re: Inserting a hyperlink" created="2006-11-22 00:57:26" updated="2006-11-21 19:57:26">
<type id="11">
note</type>
<author id="460657">
Samy_rio</author>
<data>
<field name="doctext">
&lt;p&gt;Hi [rio], give the hyperlink using HTML tags in the message part and mention the type as "text/html". See as below:&lt;/p&gt;
&lt;code&gt;
my $message_body = "This is a list of things to bring\n&lt;a href=\"http://www.perlmonks.com\"&gt;Fresh flowers from Flowershop X&lt;/a&gt;\n&lt;a href=\"http://www.perl.org\"&gt;Today's Arragement instructions from instruciton home page&lt;/a&gt;\n";

### Add the text message part
$msg-&gt;attach (Type =&gt; 'text/html', 			
 	      Data =&gt; $message_body		
	      ) or die "Error adding the text message part: $!\n";
&lt;/code&gt;
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-460657"&gt;
&lt;p&gt;Regards,&lt;br&gt;Velusamy R.&lt;hr&gt;&lt;c&gt;eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';&lt;/c&gt;&lt;/p&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
585436</field>
<field name="parent_node">
585436</field>
</data>
</node>
