Hi,
I use seaisde 3, and i want send email with this code :
|msg|
MailSender setSmtpServer.
msg := (MailMessage new setField: 'to' to: '
[hidden email]';
setField: 'from' to: '
[hidden email]';
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?
Thanks,
Simon
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside