RE: CFPOP question...
> When using CFPOP, I would like to get the person's email > address. But sometimes, I get it the name of the person, > like "Joe Blow" and not [EMAIL PROTECTED] This is a "feature" of CFPOP > How can I get the email address? The email address is not in > the header either. It is... Use HTMLEditFormat() to output the header The email address is surrounded by <> and therefore if you don't escape them you wont see it when you output the header... Oh and if you are on Windows... You could use CFX_POP3 :) Paul ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240191 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfpop question
You could try using the free tcpclient com object from intrafoundation (http://www.intrafoundation.com/tcpclient.asp) to open a telnet session and then issue the following commands... USER userid PASS password STAT And this will return something like +OK 3 345910 Which tells you it is holding 3 messages and a total of 345910 bytes. You can get other pop3 telnet command info here: http://pages.prodigy.net/michael_santovec/pop3telnet.htm -- Jay > -Original Message- > From: Chris Musial [mailto:[EMAIL PROTECTED] > Sent: 15 July 2004 12:50 > To: CF-Talk > Subject: cfpop question > > does anyone know how to find out how many messages are on a > mail server before actually using cfpop to access the email > information? Im building a web based email system. If the > email account has an massive amount of messages on the server > (spam and what not), the cfpop cant handle it and it ends up > crashing the mail server and locking the email account. I > wanna be able to find out how many messages and how big the > messages are in total before i actually pop them so i can > prevent this from happening. Any help would be appreciated. Thanks > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfpop question
CFPOP doesn't support just doing a STAT function... CFX_POP3 does. http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP question
That's an error from your email server. Some servers store email in a single file and limit access to that file to a single process. If the mailbox is being used by one process then the next process will receive a lock error. It could be a matter of doing two CFPOPS at once but I'm not sure. HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion applications >>> Please vote for iMS here: http://www.sys-con.com/coldfusion/readerschoice2003/index.cfm >>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Burns, John To: CF-Talk Sent: Thursday, December 18, 2003 11:18 AM Subject: CFPOP question I'm getting an error trying to use CFPOP. It seems to happen after I try to delete a mail item and it lasts for a few minutes and then seems to fix itself. Anyone have any suggestions or experience with this? Here's the error I get. Error Occurred While Processing Request Error Diagnostic Information Can't get lock. Mailbox in use The error occurred while processing an element with a general identifier of (CFPOP), occupying document position (2:2) to (2:107). Date/Time: Thu Dec 18 11:20:30 2003 Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Thanks, John Burns [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFPOP Question
This is true. I have to look at the possibility that it would include the original in the body of the message. Then parse it out. Randy Adkins >>> [EMAIL PROTECTED] 05/21/02 12:41 PM >>> > What I am attempting is to parse the OLD stuff > out and just GRAB the new message in which they > are conveying. Doesn't that depend entirely on how they reply to your message? The original message may or may not be included in their reply. Or maybe I still don't understand what you're describing. -- Owen > > 2. Any idea on how to grab the NEW MESSAGE and NOT > > the replied message. Meaning if this is a reply to > > an original message I do not want the original message > > but the NEW message. > > ANY IDEAS ON THIS? __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFPOP Question
I only want to store the NEW Message in the database as I would already have the original message stored in the DB. Since the BODY of the old message would contain the headers and stuff, I was wondering if anyone had done this before. Randy Adkins >>> [EMAIL PROTECTED] 05/21/02 13:13 PM >>> > I have two questions regarding the query columns > returned from using CFPOP. > > 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? This really depends on your mail server - but why not ParseDateTime() to make it into a real Date type? Then you can use DateFormat() and TimeFormat() as much as you want > 2. Any idea on how to grab the NEW MESSAGE and NOT > the replied message. Meaning if this is a reply to > an original message I do not want the original message > but the NEW message. > ANY IDEAS ON THIS? Why not store the messages in a database (read via CFPOP on a schedule) and then you can do whatever you want with it... Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFPOP Question
> I have two questions regarding the query columns > returned from using CFPOP. > > 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? This really depends on your mail server - but why not ParseDateTime() to make it into a real Date type? Then you can use DateFormat() and TimeFormat() as much as you want > 2. Any idea on how to grab the NEW MESSAGE and NOT > the replied message. Meaning if this is a reply to > an original message I do not want the original message > but the NEW message. > ANY IDEAS ON THIS? Why not store the messages in a database (read via CFPOP on a schedule) and then you can do whatever you want with it... Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFPOP Question
> What I am attempting is to parse the OLD stuff > out and just GRAB the new message in which they > are conveying. Doesn't that depend entirely on how they reply to your message? The original message may or may not be included in their reply. Or maybe I still don't understand what you're describing. -- Owen > > 2. Any idea on how to grab the NEW MESSAGE and NOT > > the replied message. Meaning if this is a reply to > > an original message I do not want the original message > > but the NEW message. > > ANY IDEAS ON THIS? __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFPOP Question
The 2nd question is when you send an email to someone and then they reply to that message, it now contains their NEW message as well as the original message such as: THIS IS NEW > THIS IS PART OF > THE OLD MESSAGE It will also contain the HEADER information. What I am attempting is to parse the OLD stuff out and just GRAB the new message in which they are conveying. Randy Adkins >>> [EMAIL PROTECTED] 05/21/02 10:48 AM >>> > 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? I use a cfx tag, cfx_pop3date, for this. As far as I know custom solutions are the only solutions in this case. cfx_pop3date will get both the date and the time for you. However, it doesn't *always* work, so I've had to wrap it in to prevent errors. > 2. Any idea on how to grab the NEW MESSAGE and NOT > the replied message. Meaning if this is a reply to > an original message I do not want the original message > but the NEW message. > ANY IDEAS ON THIS? I don't understand what you're asking here. Can you elaborate? -- Owen Athens County Library Services http://www.athenscounty.lib.oh.us __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFPOP Question
Not off hand, sorry. :( Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 10:48 AM To: CF-Talk Subject: RE: CFPOP Question Thanks.. any idea on the 2nd question? >>> [EMAIL PROTECTED] 05/21/02 10:45 AM >>> > 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? ParseDateTime(Date, "POP") Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFPOP Question
Thanks.. any idea on the 2nd question? >>> [EMAIL PROTECTED] 05/21/02 10:45 AM >>> > 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? ParseDateTime(Date, "POP") Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFPOP Question
> 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? I use a cfx tag, cfx_pop3date, for this. As far as I know custom solutions are the only solutions in this case. cfx_pop3date will get both the date and the time for you. However, it doesn't *always* work, so I've had to wrap it in to prevent errors. > 2. Any idea on how to grab the NEW MESSAGE and NOT > the replied message. Meaning if this is a reply to > an original message I do not want the original message > but the NEW message. > ANY IDEAS ON THIS? I don't understand what you're asking here. Can you elaborate? -- Owen Athens County Library Services http://www.athenscounty.lib.oh.us __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFPOP Question
> 1. The date field when it comes in is not a TRUE > date field thus I can not use CreateODBCDate or > DateFormat on this field to grab JUST THE DATE and > then JUST the time. IDEAS??? ParseDateTime(Date, "POP") Benjamin S. Rogers http://www.c4.net/ v.508.240.0051 f.508.240.0057 __ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFPOP Question
Thanks, but I think my real problem is the often-complained-about CFPOP attachments loop. I was hoping to find an easier way to send attachments through. I can make them viewable online with a hyperlink, but I can't seem to get cfmail to loop through the list. We are running CF 4.5.1 on Win2k. Here is the code I am using: (Everything works except the attachment thing). - Original Message - From: "Chris Lofback <[EMAIL PROTECTED]>" Subject: RE: CFPOP Question Sarah: I assume the mail client is totally web-based? If so, I suppose you could have the download template copy the attachment file to a temp directory on the web server and then put an image link in the message that points to the image. Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com -Original Message- From: Sarah Skiba [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 11:37 AM To: CF-Talk Subject: CFPOP Question I'm developing a cfpop application and am nearly finished but have hit a rut... Is there any way to make an attachment, ie a .jpg file someone sent to grandma, appear in-line in the message so it gets downloaded with the attachment? I was able to make it embed as garbled text, and I am able to make it show up as an attachment, but is there anyway to display it the way OE or Eudora do? Thanks. Sarah Skiba __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists