CFPOP attachment error (potential bug)

2005-06-16 Thread Steve Robison, Jr.
Using CFPOP to retreive mail, if a Content-Disposition Header isn't
formed a certain way, CFPOP appears to ignore the attachment.

A standard jpg attachment header appears to be as follows
 
--_=_Part_UNIQUEIDENTIFICATION
Content-Type: image/jpeg;
name=SOMEFILENAME
Content-Transfer-Encoding: base64
Content-Description: SOMEFILENAME
Content-Disposition: attachment;
filename=SOMEFILENAME
 
Note the line below Content-Type is a tab, then name=SOMEFILENAME
 
While using a Cingular cell phone (Motorola V551) to send an email
with a photo attachment, the following attachment header is sent.
 
--=_Part_UNIQUEIDENTIFICATION
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Location: SOMEFILENAME
Content-ID: SOMEFILENAME
Content-Disposition: inline
 
Note that the 2nd line name=SOMEFILENAME doesn't exist.  
 
When I use CFPOP to download this message, CFPOP doesn't process the
attachment.
 
If I go into the mail server and manually edit the message and add the
2nd line, as follows.
 
--=_Part_UNIQUEIDENTIFICATION
Content-Type: image/jpeg
name=SOMEFILENAME
Content-Transfer-Encoding: base64
Content-Location: SOMEFILENAME
Content-ID: SOMEFILENAME
Content-Disposition: inline
 
Now, if I attempt to process this message using CFPOP, it will
successfully process the attachment inside of the message.

When I look at RFC 2183 (http://www.faqs.org/rfcs/rfc2183.html), it
appears that the content header as sent by Cingular is valid.

Let me know if anyone needs further detail or clarification.  

BTW, I attempted to submit a bug to Macromedia using their form
(http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform),
but the message was rejected.

Thanks in advance for any help.

Regards,
Steve Robison

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Adobe PDF to text converter

2003-10-24 Thread Steve Robison, Jr.
Does anyone know of any programs that can run in Unix and will convert a 
PDF into a text file?You can do this through the Adobe PDF program and 
I found some windows based programs that look like they do this as 
well.So far, I haven't seen any non-GUI programs that will do this.

Thanks in advance.

Steve Robison


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




HTML Messages Respooled in cfmx

2003-03-18 Thread Steve Robison, Jr.
I had some mail in the undelivr folder because cfmx couldn't connect to the 
mail server.  Once the mail server was back up, I moved those files over to 
the spool directory so they would resend.  Everything worked except that 
the html messages were sent as text messages, causing all of the html code 
to show in the email.  Has anyone seen this before?  I've done this in 
previous cf versions and the html staying intact.

Thanks in advance,

Steve Robison, Jr.
[EMAIL PROTECTED]
Delaware.Net, Inc.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



HTML Messages Respooled in cfmx

2003-03-18 Thread Steve Robison, Jr.
I had some mail in the undelivr folder because cfmx couldn't connect to the 
mail server.  Once the mail server was back up, I moved those files over to 
the spool directory so they would resend.  Everything worked except that 
the html messages were sent as text messages, causing all of the html code 
to show in the email.  Has anyone seen this before?  I've done this in 
previous cf versions and the html staying intact.

Thanks in advance,
Steve

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Comparing two listvars and deleting dups

2003-03-06 Thread Steve Robison, Jr.
something like this should work

cfloop list=listvar2 index=i delimiters=,
 cfif ListFind(listvar1, i, ,)
 cfset listvar1 = ListDeleteAt(listvar1, 
ListFind(listvar1, i, ,), ,)
 /cfif
/cfloop


At 10:05 AM 3/6/2003 -0500, you wrote:
Correct me if I'm wrong but that doesn't do what I'm asking.

I want to remove all items in ListVar1 that appear in ListVar2.
They are not already duplicated in ListVar1.

~Jason

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 10:01 AM
To: CF-Talk
Subject: RE: Comparing two listvars and deleting dups


http://www.cflib.org/udf.cfm?ID=532
and
http://www.cflib.org/udf.cfm?ID=533

===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

My ally is the Force, and a powerful ally it is. - Yoda

  -Original Message-
  From: Dowdell, Jason G [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 06, 2003 8:55 AM
  To: CF-Talk
  Subject: Comparing two listvars and deleting dups
 
 
  Anyone have code off the top of their head to delete
  duplicate values from 2 lists.  Here's an example.
 
  I want to delete all of the list items in ListVar1 that
  appear in ListVar2
 
  ListVar1 = a,b,c,d,e
  ListVar2 = c,e
 
  Any suggestions?
  ~Jason
 
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CFPOP? Getting the size of an email.

2003-02-27 Thread Steve Robison, Jr.
cfset msgsize = Len(Msg.header) + Len(Msg.body)

CFLOOP FROM=1 TO=#ListLen(Msg.Attachments,' ')# INDEX=CurrItem
 CFSET FileName = ListGetAt(Msg.AttachmentFiles, CurrItem, '')
 CFDIRECTORY ACTION=list DIRECTORY=#attachdir# NAME=thisfile 
FILTER=#GetFileFromPath(Filename)#
 cfset msgsize = msgsize + thisfile.size
/CFLOOP
cfset msgsize = msgsize / 1024
cfif msgsize gte 1000
 cfset msgsize = msgsize /1024
 cfset decimalmarker = Find(., msgsize) + 1
 cfif Len(msgsize) gt decimalmarker
 cfset msgsize = Left(msgsize, decimalmarker)
 /cfif
 cfset msgsize = msgsize   MB
cfelse
 cfset msgsize = Round(msgsize)
 cfset msgsize = msgsize   KB
/cfif



At 04:08 PM 2/27/2003 -0500, you wrote:
How can you get the size of a specific email? I didn't see any options for
the CFPOP tag.
Do I need to use some java magic for this task or did I overlook the
parameter?

Regards,

Dave Bosky
Sr. Multimedia Web Designer
Horry Telephone Cooperative, Inc.
office: (843)369-8613
[EMAIL PROTECTED]



HTC Disclaimer:  The information contained in this message may be 
privileged and confidential and protected from disclosure. If the reader 
of this message is not the intended recipient, or an employee or agent 
responsible for delivering this message to the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by replying to the 
message and deleting it from your computer.  Thank you.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: query help...

2003-01-29 Thread Steve Robison, Jr.
cfquery name=queryname
select q1, q2,  from table
/cfquery

cfset q1list = ValueList(queryname.q1, ,)
cfset q1listcount1 = ListValueCount(q1list, 1, ,)cfset q1listcount2 = 
ListValueCount(q1list, 2, ,)
cfset q1listcount3 = ListValueCount(q1list, 3, ,)

At 03:49 PM 1/29/2003 -0500, you wrote:
Hi all,

I have a table with columns named q1,q2,q3, through q19. Each question can 
have a value of 1, 2, or 3. How can I generate a query/cfcode that will 
tell me how many people answered 1, 2, and 3 for question 1 through 
question 19 without having a ton of queries? I know it needs to loop 
somehow, but it just hasn't worked out correctly so far.

thx,

- gary


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Obscure CFContent Problem

2003-01-17 Thread Steve Robison, Jr.
I am using cfcontent to throw documents to the browser from a non-web 
accessible directory.  I am using  cfheader as shown below to tell the 
browser what type of file it is.  So, it knows the file being downloaded is 
test.doc file instead of index.cfm.

cfheader name=content-disposition value=inline; 
filename=#attributes.filename#

All of this works for just about any file type except for the .dwf file 
format.  It is an Autocad file that stands for design web format.  It 
allows customers to view the drawings wiith a free Autocad program 
(Autodesk Express Viewer).

If the .dwf file is in the web directory, internet explorer opens it up 
properly.

If I try to open it with cfcontent, internet explorer displays a blank screen.

I'm assuming that this is because the Autodesk Express viewer disregards 
the header content-disposition.  Does any one have any idea on this?

Thanks,

Steve Robison, Jr.
[EMAIL PROTECTED]
Delaware.Net, Inc.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




cfcontent file name problem

2002-12-16 Thread Steve Robison, Jr.
I am using cfcontent to get files from a non-webaccessible 
directory.  Everything works except for when they try to save the file, it 
defaults to index.doc instead of test.doc.  In apache, I could do this 
index.cfm/test.doc?fileid=1 and it would save the file as test.doc.  In 
IIS, it can't find the page since there is no index.cfm directory.  Below 
is what the code looks like.


The list of files page
a href=index.cfm/test.doc?fileid=#fileid#Test.doc/a

Then the download page is like this

after querying the database to get the filedirectory and filename by using 
the fileid

cfcontent file=#filedirectory#\#filename# type=application/msword


Steve

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: cfcontent file name problem

2002-12-16 Thread Steve Robison, Jr.
Of course, I find the answer two minutes after sending this message...

cfheader name=content-disposition value=inline; filename=#filename#
cfcontent file=#filedirectory#\#filename# type=application/msword


At 12:23 PM 12/16/2002 -0500, you wrote:
I am using cfcontent to get files from a non-webaccessible
directory.  Everything works except for when they try to save the file, it
defaults to index.doc instead of test.doc.  In apache, I could do this
index.cfm/test.doc?fileid=1 and it would save the file as test.doc.  In
IIS, it can't find the page since there is no index.cfm directory.  Below
is what the code looks like.


The list of files page
a href=index.cfm/test.doc?fileid=#fileid#Test.doc/a

Then the download page is like this

after querying the database to get the filedirectory and filename by using
the fileid

cfcontent file=#filedirectory#\#filename# type=application/msword


Steve


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com