[ic] Email attachment

Jason Kohles interchange-users@lists.akopia.com
Tue May 29 16:58:01 2001


On Tue, May 29, 2001 at 01:38:29PM -0700, Mike Holmes wrote:
> Fellow IC users
> 
> I'm looking to attach a file to an email, the following syntax
> does not work, any tips?
> 
Check the documentation for [tag mime], in the interchange distribution you
can find an example of a file that uses it in dist/test/pages/ord/report.html,
but in a nutshell, it's going to be a lot more complex than what you have
here, you need to build mime headers, insert boundaries between the sections
of the message, and if its a binary file you will have to encode it to text.

> [email-raw]
> From: foo@bar.com
> To: foo@bar.com
> 
> Attachment: path to file?
> 
> Subject: baz
> The text of the message.
> [/email-raw]
> 
> Mike Holmes
> Web Developer
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users

-- 
Red Hat E-Business Solutions                    Jason Kohles
11480 Sunset Hills Road                         Senior System Architect
Reston, VA 20190                                jkohles@redhat.com