[Seaside] email with seaside

Simon De Baets debaetssimon at gmail.com
Sun Oct 17 09:54:55 UTC 2010


I use seaisde 3, and i want send email with this code :

MailSender setSmtpServer.
msg := (MailMessage new setField: 'to' to: 'user at paperSpot.localhost';
setField: 'from' to: 'administrator at paperSpot.localhost';
setField: 'subject' to: 'Hello from MailMessage!';
body: 'Sending from MailMessage'; yourself).
(MailComposition new sendMailMessage: msg) submit.

but it doesn't function.  Seaside give this error : "MessageNotUnderstood :
ByteString>>asHeaderValue. In fact the error is localize on line :
(MailComposition new sendMailMessage: msg) submit. The wrong part of this
line is sendMailMessage: msg. Why?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20101017/c6ab4645/attachment.htm

More information about the seaside mailing list