How to build a multipart MIME email message

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to build a multipart MIME email message

tfleig
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
Reply | Threaded
Open this post in threaded view
|

Re: How to build a multipart MIME email message

Stéphane Ducasse
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


Reply | Threaded
Open this post in threaded view
|

Re: How to build a multipart MIME email message

tfleig
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 <[hidden email]> 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



Reply | Threaded
Open this post in threaded view
|

Re: How to build a multipart MIME email message

Adrian Lienhard
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 <
> [hidden email]> 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
>>
>>
>>


Reply | Threaded
Open this post in threaded view
|

Re: How to build a multipart MIME email message

tfleig
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 <[hidden email]> 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 <
> [hidden email]> 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
>>
>>
>>