[ic] mime multipart & attachments

Marco Mescoli interchange-users@icdevgroup.org
Mon Oct 7 04:52:03 2002


If i put first "Plain text part" the received e-mail have right plain text
but show a not extractable attachment.
If i put first "Text file attach" the received e-mail show right attachment
but the file content is duplicated in the mail message without "Plain text
part".
Someone has suggestions ?

==============================================
[email_raw]
from: m.mescoli@omnibit.nu
to: m.mescoli@omnibit.nu
subject: Mime
[tag mime header][/tag]

[comment]Plain text part[/comment]
[tag mime Plain Text]Plain text content[/tag]

[comment]Text file attach part [/comment]
[tag
  op=mime
  type=text/plain
  description=|
Text file attachment
Content-Disposition: attachment; filename="myfile.txt"|]
[include file="tmp/myfile.txt"]
[/tag]
[tag mime boundary][/tag]
[/email_raw]
==============================================

------------------------------------------------------------
Omnibit piccola scrl
41100 Modena via Emilia ovest n.101
http://omnibit.nu