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"><<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>></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 <<a href="mailto:debaetssimon@gmail.com">debaetssimon@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi,<br>
><br>
> I use seaisde 3, and i want send email with this code :<br>
><br>
> |msg|<br>
> MailSender setSmtpServer.<br>
> msg := (MailMessage new setField: 'to' to: 'user@paperSpot.localhost';<br>
> setField: 'from' to: 'administrator@paperSpot.localhost';<br>
> setField: 'subject' to: 'Hello from MailMessage!';<br>
> body: 'Sending from MailMessage'; yourself).<br>
> (MailComposition new sendMailMessage: msg) submit.<br>
><br>
> but it doesn't function. Seaside give this error : "MessageNotUnderstood :<br>
> ByteString>>asHeaderValue. In fact the error is localize on line :<br>
> (MailComposition new sendMailMessage: msg) submit. The wrong part of this<br>
> 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>