Hi,<br><br>How can i transform an email address in MIME header Value?<br><br>Thanks,<br>Simon<br><br><br><div class="gmail_quote">2010/10/17 Philippe Marschall <span dir="ltr">&lt;<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2010/10/17 Simon De Baets &lt;<a href="mailto:debaetssimon@gmail.com">debaetssimon@gmail.com</a>&gt;:<br>

<div><div></div><div class="h5">&gt; Hi,<br>
&gt;<br>
&gt; I use seaisde 3, and i want send email with this code :<br>
&gt;<br>
&gt; |msg|<br>
&gt; MailSender setSmtpServer.<br>
&gt; msg := (MailMessage new setField: &#39;to&#39; to: &#39;user@paperSpot.localhost&#39;;<br>
&gt; setField: &#39;from&#39; to: &#39;administrator@paperSpot.localhost&#39;;<br>
&gt; setField: &#39;subject&#39; to: &#39;Hello from MailMessage!&#39;;<br>
&gt; body: &#39;Sending from MailMessage&#39;; yourself).<br>
&gt; (MailComposition new sendMailMessage: msg) submit.<br>
&gt;<br>
&gt; but it doesn&#39;t function.  Seaside give this error : &quot;MessageNotUnderstood :<br>
&gt; ByteString&gt;&gt;asHeaderValue. In fact the error is localize on line :<br>
&gt; (MailComposition new sendMailMessage: msg) submit. The wrong part of this<br>
&gt; line is sendMailMessage: msg. Why?<br>
<br>
</div></div>The second argument of #setField:to: must be a MIMEHeaderValue, not a String.<br>
<br>
Cheers<br>
Philippe<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>