<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: 'Content-type' put: 'text/html; charset=UTF-8'.</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"><<a href="mailto:pdebruic@gmail.com" target="_blank">pdebruic@gmail.com</a>></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>
> 1) i created a REST Service in seaside sub class of WARestfulFilter .<br>
> 2) Another Class "testing" derived from WAComponent with a textfield and<br>
> button .<br>
><br>
> Action : when i click the button it will send a mail that specified in<br>
> the textfield , and the mail contains a link . that link represents the<br>
> REST service .<br>
> When the user clicks the link , it will start redirect to REST service .<br>
><br>
> I done creating mail and all , but i am struck with how i can set a body<br>
> of a mail with html tags and all .<br>
> Body contain the link to the service<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> seaside-dev mailing list<br>
> <a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
> <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
><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'd it.<br>
<br>
<br>
Do you want to send an html formatted email? Is that what you're<br>
asking? I don't think you can right now, but it shouldn'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: 'My Email'.<br>
h image url: '<a href="http://www.seaside.st/styles/logo-plain.png" target="_blank">http://www.seaside.st/styles/logo-plain.png</a>' ])<br>
<br>
But I don'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'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 & 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>