|
Why
does cfx_odsmime return a recordCount of "0", but when outputting the headers it
returns actual values? Makes no sense, and getting
frustrated.
Right, if all of the recipients are relays then
the mail file is deleted. I guess that maybe the server should delete it
after the DATA template is called but we would not do anything like that until
we have a maintenance release of 2.2.
Regards,
Howie
----- Original Message -----
Sent: Friday, May 10, 2002 3:37
PM
Subject: RE: [iMS] ODSMIME
Err,
Make that RESULT = RELAY.
Anyway, I changed it to RESULT = ACCEPT, then it found the
file. So it looks like SMPT does not save the file if RESULT=RELAY in
the rcpt template..
File not found for me.
The process is:
email coming into SMTP server,
rcpt template gives it accept=relay,
data template sees an attachment
(form.attachments=Yes),
form.emailfile has contents of
D:\iMS\Mail\99C1C1F143158248B1B0.mail,
fileexists returns FALSE.
So, what am I missing? setting in iMS
config?
I just put this code in our data
template:
<cfif
fileexists(#form.emailfile#)> <inlog text="email
file found!"> <cfelse>
<inlog text="email file not found!"> </cfif>
And I
got a bunch of log entries that the file was found. I'm not sure
why you're getting the errors that you are...
Regards,
Howie
----- Original Message -----
Sent: Friday, May 10, 2002 3:07
PM
Subject: RE: [iMS] ODSMIME
Sure, here ya go:
CFX_ODSMIME v2.7 Exception
occured while processing tag<P><P> <b>Exception
class:</b> Exception<br><b>Exception
message:</b> Cannot proceed - file not found. - last status=Set
initial variables...<P><p>The error occurred while
processing an element with a general identifier of (CFX_ODSMIME),
occupying document position (14:2) to
(14:72).</p><P><P>
The value returned from #form.fileName# is:
D:\iMS\Mail\99C1C1F143158248B1B0.mail
Thanks.
David Brooks
form.emailfile should be the full path
to the actual email. You should not need to save to disk
first.
Could you send the error message to the
list?
Thanks,
Howie
----- Original Message -----
Sent: Friday, May 10, 2002
2:37 PM
Subject: [iMS] ODSMIME
Heya all,
Testing out the ODSMIME tag. I
have incoming email with an attachment. In the data
template, I want to process this attachment, basically for now to
get the name of the file in the attachment.
Do I have to save the attachment to
disk first, then decode the message? Or does the SMTP server
save the file to disk temporarily?
Here is my <cfx_odsmime> code,
processed in the Data template:
http://www.mail-archive.com/infusion-email%40eoscape.com/ Note:
You are subscribed as
[EMAIL PROTECTED] |