Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mime with attachments

0 views
Skip to first unread message

newtop...@yahoo.com

unread,
Oct 30, 2006, 10:51:39 AM10/30/06
to
Hello,

I can send email messages using smtp after I construct simple text
messages using mime. I can also send a file as an attachment after I
construct it with mime.

What I really need to do is combine the two steps: send a text message
along with a file as an attachment, and I am not sure how to proceed.
When I construct individual mime objects and put them together using
the "-parts" mechanism, it doesn't seem to work.

Anyone done this?

Thanks!

Michael Schlenker

unread,
Oct 30, 2006, 1:28:01 PM10/30/06
to
newtop...@yahoo.com schrieb:
Text plus Attachments is just multipart/mixed with the first part being
a plain text mime part.

See for an example:
http://wiki.tcl.tk/3016

Michael

newtop...@yahoo.com

unread,
Oct 30, 2006, 1:48:38 PM10/30/06
to
Michael Schlenker wrote:
> newtop...@yahoo.com schrieb:

>
> Text plus Attachments is just multipart/mixed with the first part being
> a plain text mime part.
>
> See for an example:
> http://wiki.tcl.tk/3016
>
> Michael


I just tested it and it works great! I did not have the right mime
type.

Thanks a lot!

0 new messages