<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(0,0,102)">soln i got , put this in WAEMailMessgage . header is needed</div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(0,0,102)">

<br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(0,0,102)"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">headerAt: &#39;Content-type&#39; put: &#39;text/html; charset=UTF-8&#39;.</span><br>

</div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(0,0,102)"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:rgb(0,0,102)">

<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Thanks </span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 23, 2013 at 2:33 AM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 02/22/2013 12:26 AM, sarath raj wrote:<br>
&gt; 1) i created a REST Service in seaside sub class of WARestfulFilter  .<br>
&gt; 2) Another Class &quot;testing&quot; derived from WAComponent with a textfield and<br>
&gt; button .<br>
&gt;<br>
&gt; Action : when i click the button it will send a mail that specified in<br>
&gt; the textfield , and the mail contains a link . that link represents the<br>
&gt; REST service .<br>
&gt; When the user clicks the link , it will start redirect to REST service .<br>
&gt;<br>
&gt; I done creating mail and all , but i am struck with how i can set a body<br>
&gt; of a mail with html tags and all .<br>
&gt; Body contain the link to the service<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; seaside-dev mailing list<br>
&gt; <a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
&gt;<br>
<br>
<br>
This would probably be better on the seaside users list, just because<br>
more people read it and could respond.  So I cc&#39;d it.<br>
<br>
<br>
Do you want to send an html formatted email?  Is that what you&#39;re<br>
asking?  I don&#39;t think you can right now, but it shouldn&#39;t be too hard<br>
to get it working.<br>
<br>
You can get an html string like this:<br>
<br>
(WARenderCanvas builder render: [ :h | h heading level1; with: &#39;My Email&#39;.<br>
        h image url: &#39;<a href="http://www.seaside.st/styles/logo-plain.png" target="_blank">http://www.seaside.st/styles/logo-plain.png</a>&#39; ])<br>
<br>
But I don&#39;t know how to put it and a plain version of the body content<br>
in the body plus declaring the content type in the body.  You&#39;d need to<br>
add the Content-Type in the email headers plus a boundary and then in<br>
the body the boundary at the start of the plain &amp; html sections then<br>
also a Content-Type declaration for each section.<br>
<br>
<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font size="4" color="#000066">Sarath Raj</font><br>
</div>