[Pharo-project] How to build a multipart MIME email message

Tony Fleig tony.fleig at gmail.com
Sat Nov 27 17:35:46 CET 2010


Yes, I looked at MailMessage, but there appears to be only one method to add
MIME content to the message, AddAttachmentFrom:withName, and it assumes a
base64-encoded attachment. I'm okay with extending it to support text/plain
and text/html parts, but I don't want to do that if the capability already
exists somewhere.

Regards,
TF

On Sat, Nov 27, 2010 at 7:25 AM, Adrian Lienhard <adi at netstyle.ch> wrote:

> Have you looked at MailMessage? It supports multi-part mails.
>
> Cheers,
> Adrian
>
>
> On Nov 27, 2010, at 16:15 , Tony Fleig wrote:
>
> > Okay, a follow on question then: Are the MIME-related classes present in
> > Pharo/Seaside intended to allow one to build a MIME document or only to
> > read/parse one?
> >
> > I really do need this functionality, so I will probably build it if it is
> > not there -- probably patterned after what is in VisualWorks (see
> >
> http://forum.world.st/Multipart-MIME-email-message-HTML-plus-plain-text-td1404392.html
> > .)
> >
> > Thanks again,
> > TF
> >
> > On Sat, Nov 27, 2010 at 12:09 AM, Stéphane Ducasse <
> > stephane.ducasse at inria.fr> wrote:
> >
> >> if you build one we would like to integrate it.
> >>       as test would be gorgeous
> >>
> >> On Nov 27, 2010, at 4:34 AM, Tony Fleig wrote:
> >>
> >>> Is there an example of how to construct a multi-part (text/plain and
> >> text/html) MIME email message in Pharo/Seaside anywhere?
> >>>
> >>> Thanks,
> >>> TF
> >>
> >>
> >>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20101127/0f5624d9/attachment.htm>


More information about the Pharo-project mailing list