Title: ODSMIME
Howie, here are my results from using the code below, for ods_mime version 2.8.  Notice it does not recognize that a query is returned from the tag. Also, I noticed below that you are referencing a .mail file that already exists on the server.  Have you tested it on an email that is incoming, and doesn't already "exist."
 
tag version=2.8

Standard headers:

ODSMIME_DATE=Mon, 13 May 2002 17:48:21 -0500
[EMAIL PROTECTED]
ODSMIME_SUBJECT=test
ODSMIME_TO=david@test.com
ODSMIME_CC=
ODSMIME_RETURNPATH=
ODSMIME_REPLYTO=
ODSMIME_CONTENTTYPE=multipart/mixed
ODSMIME_MIMEVERSION=1.0

Headers:

From = [EMAIL PROTECTED]
Comments = This is a test
To = david@test.com
Subject = test
Sender = [EMAIL PROTECTED]
Mime-Version = 1.0
Content-Type = multipart/mixed
boundary = Multipart Boundary 0513021748
Date = Mon, 13 May 2002 17:48:21 -0500
Message-ID = <[EMAIL PROTECTED]>

Attachments:

-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 5:25 PM
To: inFusion Support List
Subject: Re: [iMS] ODSMIME

As far as I see the tag works (we have lots of clients using it).  Here is a test template:
 
======================================
<cfx_odsmime action="list" file="e:\testmail.mail">
<cfoutput>tag version=#odsmime_version#</cfoutput><p>
Standard headers:<p>
<cfoutput>
ODSMIME_DATE=#ODSMIME_DATE#<br>
ODSMIME_FROM=#ODSMIME_FROM#<br>
ODSMIME_SUBJECT=#ODSMIME_SUBJECT#<br>
ODSMIME_TO=#ODSMIME_TO#<br>
ODSMIME_CC=#ODSMIME_CC#<br>
ODSMIME_RETURNPATH=#ODSMIME_RETURNPATH#<br>
ODSMIME_REPLYTO=#ODSMIME_REPLYTO#<br>
ODSMIME_CONTENTTYPE=#ODSMIME_CONTENTTYPE#<br>
ODSMIME_MIMEVERSION=#ODSMIME_MIMEVERSION#<br>
</cfoutput>
<br>Headers:<p>
<cfoutput query="odsmime_emailheaders">
#header# = #value#<br>
</cfoutput>
<br>Attachments:<p>
<cfoutput query="odsmime_query">
#filename#<br>
</cfoutput>
======================================
 
And, here is my output from the template:

======================================
tag version=2.8<p>
 
Standard headers:<p>
 
ODSMIME_DATE=Fri, 10 May 2002 17:47:01 -0400<br>
ODSMIME_FROM=Howie Hamlin" <[EMAIL PROTECTED]><br>
ODSMIME_SUBJECT=test<br>
ODSMIME_TO=Howie Hamlin" <[EMAIL PROTECTED]><br>
ODSMIME_CC=<br>
ODSMIME_RETURNPATH=<br>
ODSMIME_REPLYTO=<br>
ODSMIME_CONTENTTYPE=multipart/mixed<br>
ODSMIME_MIMEVERSION=1.0<br>
 
<br>Headers:<p>
 
From = Howie Hamlin" <[EMAIL PROTECTED]><br>
To = Howie Hamlin" <[EMAIL PROTECTED]><br>
Subject = test<br>
Date = Fri, 10 May 2002 17:47:01 -0400<br>
MIME-Version = 1.0<br>
Content-Type = multipart/mixed<br>
boundary = ----=_NextPart_000_1955_01C1F84A.B09E5780<br>
X-Priority = 3<br>
X-MSMail-Priority = Normal<br>
X-Mailer = Microsoft Outlook Express 5.50.4522.1200<br>
X-MimeOLE = Produced By Microsoft MimeOLE V5.50.4522.1200<br>
 
<br>Attachments:<p>
 
post21.zip<br>
errcode_1_.zip<br>
======================================
 
As you can see, the output is as expected.
 
Regards,
 
Howie
 
----- Original Message -----
Sent: Friday, May 10, 2002 6:11 PM
Subject: RE: [iMS] ODSMIME

Using ODSMIME version 2.7 and 2.8, when attachments came through, the Action=list recordcount would always display "0,"  yet the tag would return odsmime_from, odsmime_subject, etc, with actual values from the email file.  After working with these tags for a couple hours, I tried version 2.6.  Bingo, recordcount started displaying the number attachments within the email file correctly.  The query outputted the variable names like "FileName" and such.
 
The latest versions, 2.7 and 2.8, never see the attachments in the email file, yet 2.6 does.
 
Hope that helps.
 
David Brooks

This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"

To leave this list please complete the form at http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here: http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]

Reply via email to