Re: [Zope] Mime types for email attachments
Brendon Grunewald writes: I am battling to find the information needed to attach word, excel, and pdf documents to an email based on the input from a form. You already discussed lots of things with Chris I hope, I say only new things: * you will need the MIME patch. It allows you to supply expressions as values for the various arguments of the sendmail tag and its friends rather than constants. Search zope.org or the list's archive (the MIME patch has been mentioned recently, with URL where it can be found). * Use the following MIME types: wordapplication/msword excel application/vnd pdf application/pdf Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Mime types for email attachments
I am battling to find the information needed to attach word, excel, and pdf documents to an email based on the input from a form. I know that there is a howto that uses a python method, but I do not want to use this option. Where can I get the necessary mime types and structure to accomplish this? This is what I have so far: !--#sendmail mailhost="MailHost"-- To: dtml-var Email_address From: WebForm [EMAIL PROTECTED] Subject: Web doc request dtml-mime type=text/plain encode=7bit Attached is the document you requested. dtml-boundary type=application/dtml-var Doc_Type disposition=attachment encode=quoted-printable dtml-var dtml-var Requested_Document /dtml-mime !--#/sendmail-- Thanks Brendon -- 70South: the No.1 source for Antarcticles. For the latest news and views on Antarctica visit : http://www.70south.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )