Re: CFPOP and multipart bounce messages
Paul, thanks that might work. Russ - Not an option, as I'm not the one sending the email. Thanks though. Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPOP and multipart bounce messages
You might want to consider using a.system like sendgrid.net which makes this stuff a lot easier. They have an api for sending email insyead of using cfmail/smtp, so far easier to track failed delivery, and they track bounces for you too. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Mar 8, 2013 7:25 PM, Rick Root rick.r...@gmail.com wrote: Hi, I'm trying to figure out a way to have coldfusion handle bounce emails from a certain system that produces bounce messages in multipart format. Unfortunately, Coldfusion CFPOP seems to only get the multipart sections with text/plain (textBody) and text/html (htmlBody), and some of these other mime parts that are not file attachments are ignored. For the most part CFPOP works great, it saves my attachments to a folder for me, populates the text and html pieces... but somehow I need to get the other mime parts - or the raw message. Anyone got any ideas for me? -- *The beatings will continue until morale improves.* ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354905 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP and multipart bounce messages
Anyone got any ideas for me? http://popcfc.riaforge.org Check out the functions with RAW in their names, it bypasses CFPOP in those functions and should handle bounce messages for you. Paul ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354908 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPOP
pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347524 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
pre tags would be easiest. If you don't want pre tags then something like #replace(content, char(13), 'br /', 'all')# .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: Monday, September 19, 2011 12:34 PM To: cf-talk Subject: CFPOP I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347527 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFPOP
#paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347528 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject: Re: CFPOP #paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347529 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
Thanks for all the replies, but not quite there yet. I copied/pasted a mail from this list into Dreamweaver, and it looks about as perfect as could be, that's what I am aiming for. Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: 19 September 2011 22:17 To: cf-talk Subject: RE: CFPOP Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject: Re: CFPOP #paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347530 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFPOP
unless you tell us what the difference is with what you see in DW and what you see in a browser (and the code you are using to display it), I dont think there is much else to tell you to try. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: Monday, September 19, 2011 5:30 PM To: cf-talk Subject: RE: CFPOP Thanks for all the replies, but not quite there yet. I copied/pasted a mail from this list into Dreamweaver, and it looks about as perfect as could be, that's what I am aiming for. Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: 19 September 2011 22:17 To: cf-talk Subject: RE: CFPOP Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject: Re: CFPOP #paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I don't need to reinvent the wheel Many thanks in advance! Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347531 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfpop and GMail
http://mail.google.com/support/bin/answer.py?answer=86378 Under Other Issues... How do I download mail to multiple POP clients? To access your messages with multiple POP clients, use recent mode in every client to make sure that all messages are made available, rather than only to the first client to access new mail. Recent mode fetches the last 30 days of mail, regardless of whether it's been sent to another POP client already. To enable Recent mode, replace 'usern...@gmail.com' in the Username field of your POP client settings with 'recent:usern...@gmail.com' and ensure that the Leave messages on server option in your POP client is enabled. Paul -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Tuesday, February 16, 2010 3:02 PM To: cf-talk Subject: cfpop and GMail Has anyone noticed that, within the past month or so, behavior with cfpop and GMail has changed? It used to be that, if you had GMail set to Enable POP for all mail (even mail that's already been downloaded), every call to cfpop action=getall would return *all* messages in the In box. Now, it seems, calls to cfpop action=getall only return *new* messages in the In box. (You can fake it by re-selecting Enable POP for all mail which will, one time only, make it so that cfpop action=getall fetches all messages in the In box.) Anyone else seeing this? Anyone know of a workaround? -- John Bliss IT Professional @jbliss (t) / http://www.brandiandjohn.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330772 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfpop and GMail
To enable Recent mode, replace 'usern...@gmail.com' in the Username field of your POP client settings with 'recent:usern...@gmail.comrecent%3ausern...@gmail.com ' Solved! Paul, the next time you're in Houston, I owe you a beer! :-) On Tue, Feb 16, 2010 at 9:08 AM, Paul Vernon paul.ver...@web-architect.co.uk wrote: http://mail.google.com/support/bin/answer.py?answer=86378 Under Other Issues... How do I download mail to multiple POP clients? To access your messages with multiple POP clients, use recent mode in every client to make sure that all messages are made available, rather than only to the first client to access new mail. Recent mode fetches the last 30 days of mail, regardless of whether it's been sent to another POP client already. To enable Recent mode, replace 'usern...@gmail.com' in the Username field of your POP client settings with 'recent:usern...@gmail.comrecent%3ausern...@gmail.com' and ensure that the Leave messages on server option in your POP client is enabled. Paul -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Tuesday, February 16, 2010 3:02 PM To: cf-talk Subject: cfpop and GMail Has anyone noticed that, within the past month or so, behavior with cfpop and GMail has changed? It used to be that, if you had GMail set to Enable POP for all mail (even mail that's already been downloaded), every call to cfpop action=getall would return *all* messages in the In box. Now, it seems, calls to cfpop action=getall only return *new* messages in the In box. (You can fake it by re-selecting Enable POP for all mail which will, one time only, make it so that cfpop action=getall fetches all messages in the In box.) Anyone else seeing this? Anyone know of a workaround? -- John Bliss IT Professional @jbliss (t) / http://www.brandiandjohn.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330774 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfpop and GMail
It's yet another example of the flawed POP implementation that Google has invented... It bears no resemblance to the POP RFC documentation whatsoever! Paul -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Tuesday, February 16, 2010 3:14 PM To: cf-talk Subject: Re: cfpop and GMail To enable Recent mode, replace 'usern...@gmail.com' in the Username field of your POP client settings with 'recent:usern...@gmail.comrecent%3ausern...@gmail.com ' Solved! Paul, the next time you're in Houston, I owe you a beer! :-) On Tue, Feb 16, 2010 at 9:08 AM, Paul Vernon paul.ver...@web-architect.co.uk wrote: http://mail.google.com/support/bin/answer.py?answer=86378 Under Other Issues... How do I download mail to multiple POP clients? To access your messages with multiple POP clients, use recent mode in every client to make sure that all messages are made available, rather than only to the first client to access new mail. Recent mode fetches the last 30 days of mail, regardless of whether it's been sent to another POP client already. To enable Recent mode, replace 'usern...@gmail.com' in the Username field of your POP client settings with 'recent:usern...@gmail.comrecent%3ausern...@gmail.com' and ensure that the Leave messages on server option in your POP client is enabled. Paul -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Tuesday, February 16, 2010 3:02 PM To: cf-talk Subject: cfpop and GMail Has anyone noticed that, within the past month or so, behavior with cfpop and GMail has changed? It used to be that, if you had GMail set to Enable POP for all mail (even mail that's already been downloaded), every call to cfpop action=getall would return *all* messages in the In box. Now, it seems, calls to cfpop action=getall only return *new* messages in the In box. (You can fake it by re-selecting Enable POP for all mail which will, one time only, make it so that cfpop action=getall fetches all messages in the In box.) Anyone else seeing this? Anyone know of a workaround? -- John Bliss IT Professional @jbliss (t) / http://www.brandiandjohn.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330777 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPop with specific folders?
Hi Qing Xia, If you wish to use cfimap w/ Gmail, here are a couple of things you may want to watch out for: - When polling Gmail, the item counts returned by cfimap may not match the same in Gmail (Gmail bug). - When retrieving emails from Gmail, an email labeled x times, may be downloaded x times (Gmail quirk). However, you should not see these issues if you use cfimap to connect to an IMAP-compliant mail server (instead of Gmail). Thanks!, -Aaron Neff say I want to download all email messages in my CFTalk folder off my Gmail account...how would I go about doing that? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330459 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPop with specific folders?
Well, well, this just proves my theory--ColdFusion has a tag for EVERYTHING! [?] I've got CF8 running on my personal development machine because I am preparing for the certificate exam. I'm going to install CF9 instead and try this out! Thanks!! You guys are the best! On Sun, Feb 7, 2010 at 4:48 AM, Aaron Neff w...@itisdesign.com wrote: Hi Qing Xia, If you wish to use cfimap w/ Gmail, here are a couple of things you may want to watch out for: - When polling Gmail, the item counts returned by cfimap may not match the same in Gmail (Gmail bug). - When retrieving emails from Gmail, an email labeled x times, may be downloaded x times (Gmail quirk). However, you should not see these issues if you use cfimap to connect to an IMAP-compliant mail server (instead of Gmail). Thanks!, -Aaron Neff say I want to download all email messages in my CFTalk folder off my Gmail account...how would I go about doing that? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330461 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPop with specific folders?
Good tips about gmail. Thanks Aaron! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330462 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPop with specific folders?
Good tips about gmail. Thanks Aaron! You're very welcome Leigh, and, likewise, thanks very much for the tip (the other day in the Adobe forums) about the undocumented cfpdfform 'name' attribute! I meant to follow-up on that thread w/ some more info, but lost track. I will tho.. soon! Hope the cfimap tag works for you Qing Xia! Take care, -Aaron ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330465 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPop with specific folders?
- When polling Gmail, the item counts returned by cfimap may not match the same in Gmail (Gmail bug). You are right on this one, Aaron. Gmail groups messages by conversation, which is really just the email subject lines. For example, I've got this Gmail folder that has 8 conversations but 15 individual email messages. However, when I used CFImap to download all messages in that folder, I got only 10! Upon closer examination, I saw that this is because 5 of the email messages are from me myself but they got grouped in the conversations because they share the subject lines with those who legitimately belong in this folder. I guess if you think about this, it sort of makes sense since the email messages sent by me are really in the sent folder and they only appear in the conversation groups for the sake of completeness. But this grouping really does create confusion. - When retrieving emails from Gmail, an email labeled x times, may be downloaded x times (Gmail quirk). Yep, you are right on this, too. I guess this is another hazard of the Gmail system of virtual folders/labels, where a message can have multiple labels. Not necessarily a bad thing but definitely something to watch out for. However, you should not see these issues if you use cfimap to connect to an IMAP-compliant mail server (instead of Gmail). Yep, Yahoo has no problem with these issues since they don't allow 1-to-many relationship between email messages and folders. BTW, it is disappointing that CFImap does not allow lists in the folder attribute. You've got to use the cfimap action=GetHeaderOnly... tag twice to get two folders. Maybe something to add to the wish list for CF10! [?] Great ideas Aaron, thanks for sharing! Thanks Leigh for the code example, that really helped. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330466 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPop with specific folders?
about the undocumented cfpdfform 'name' attribute! Funny, I did not even realize it was _not_ documented for cfpdfform until you said that. At least that explains why I did not suggest it originally. I was hoping it might just be an omission in the documentation. But I cannot tell much from the error messages. They are giving mixed signals ;-) 1) Required attributes: 'action,source'. Optional attributes: 'destination,name,overwrite,overwritedata,xmldata'. 2) Attribute validation error for tag CFPDFFORM. It does not allow the attribute(s) NAME. The valid attribute(s) are ACTION,FDFDATA,OVERWRITE,RESULT,SOURCE,XMLDATA. (Make up your mind folks..) -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330467 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFPop with specific folders?
Does anyone know of a way to get/delete emails in a *specific* folder, of a POP email account? If memory serves, POP has no concept of folders. When you connect via POP, the server gives you access to the main inbox, but that is all. Any access to folders would have to be through another protocol such as IMAP, or as you mentioned, the Exchange-specific tags. Google does allow IMAP connections, but I have never tried to access Gmail via IMAP from ColdFusion. I would assume that it would work though. -Justin Scott ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330457 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFPop with specific folders?
If memory serves, POP has no concept of folders. Yes, that is my recollection as well. but I have never tried to access Gmail via IMAP from ColdFusion. I would assume that it would work though. Neither had I until five minutes ago ;) But I just tried it with cfimap it worked fine. http://mail.google.com/support/bin/answer.py?hl=enanswer=75725 form method=post user input type=text name=user value=myusern...@gmail.com password input type=password name=pw folder input type=text name=folder value=SomeFolderName input type=submit /form cfif structKeyExists(FORM, pw) cfimap action=open server = imap.gmail.com username = #form.user# secure=yes port=993 password=#form.pw# connection=gConnect cfimap action=GetHeaderOnly folder=#form.folder# connection=gConnect name=qMessages cfdump var=#qMessages# cfimap action=close connection=gConnect /cfif -Leigh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330458 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfpop - do not want to retrieve duplicate emails
We need to be able to POP emails from a Yahoo! Mail account without deleting the emails and without retrieving the same email twice. If I set the action attribute to Delete in the cfpop tag, it deletes the email from the Yahoo account. Is there a way to only pop unique emails without deleting them from the mail box? Keep a copy of the UID's you have downloaded locally, compare against the UID's on the server and only do a GETALL on the ones you haven't seen before and then store those UID's too. This process will get progressively slower as more and more e-mails are left on the server though. CFX_POP3 has a GETUIDLIST function which just retrieves the UID's of the mails on the server and makes the process lightening fast but it only works on 32-bit CF installations on Windows so it's life is limited now. Paul ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328083 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfpop using hotmail
Bump. King. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfpop using hotmail
Bump. King. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316117 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfpop using hotmail
Two things: 1) There's no need to bump a message twice in the span of a minute. 2) If you're getting that error message that means a few things: a) the port is correct b) CF is communicating correctly with the MSN Live server c) From the brief Google searches that I did (Hotmail POP3, MSN POP3) I found the following: http://mailcall.spaces.live.com/Blog/cns!CC9301187A51FE33!44348.entry The most telling thing is this line: PS - please note that I said Hotmail Plus users and not MSN Premium users. We are working to offer everyone POP access eventually, but for now, Hotmail Plus users are the only ones that can do so. Try accessing the email from Outlook or some other client and see if you can. If that works then there's a problem with your code, otherwise you may be out of luck for a while. Hatton ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316121 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPOP and Email gateway
Thanks for the info Dave. It's always good to know of alternate solutions, but, I was thinking more on the line of gateway which would continuously listen for emails (just like it would do for SMS messages), any thoughts on that? Is it possible to listen for emails at all? Varun, I forgot to mention that I have my VB app running as a Service on my server. Dave Varun, I had an issue like this and couldn't find a 'pure' ColdFusion solution. I ended up building a little VB app that checked the mailbox every 5 seconds to see if had any mail and then, if it did, it would then execute my CF page to pull the mail. Of course, I was checking every 5 seconds, and, as a result, since it would take longer than 5 seconds for my page to run, I had the issue of multiple requests trying to process the mail at the same time. So, I set up a DB variable that would, in effect, 'lock' the process so that it could only be running once at any given time. Once the VB app saw there was mail, it would start firing the CF request (it would shell out to WGET which would execute the HTTP call to the CF page) every 5 seconds until there was no mail anymore. The first request would actually start the processing and the remaining requests would just abort because the process was already running. This has been working well for us for two months now. I'm sure there are other ways to accomplish this, and maybe even a 'Pure' ColdFusion solution, but I found the overhead on CFPOP so slow that I couldn't reliably expect it to check for messages every 5 seconds successfully without killing my server (sometimes a single CFPOP call would take more than 5 seconds anyway). HTH, Dave I have a CRM tool which uses CFPOP to pull the email from the mailbox, parses those email and connects them to an existing open tickets in the CRM tool for that email address. I have a scheduled task which runs every 15 minutes and does the pull,parse and append. I need to have this task run every 2 minutes but because we have a lot already going on in that tool it has huge performance issues. I was thinkin may be, if there is a email gateway or some other method to continusouly listen the mailbox and as soon as we get email parse it, append it. Please advise if any of you have ever looked into some solutions where the app can continuously listen for event (email in this case) without having huge performance impact. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309803 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFPOP and Email gateway
Varun, I had an issue like this and couldn't find a 'pure' ColdFusion solution. I ended up building a little VB app that checked the mailbox every 5 seconds to see if had any mail and then, if it did, it would then execute my CF page to pull the mail. Of course, I was checking every 5 seconds, and, as a result, since it would take longer than 5 seconds for my page to run, I had the issue of multiple requests trying to process the mail at the same time. So, I set up a DB variable that would, in effect, 'lock' the process so that it could only be running once at any given time. Once the VB app saw there was mail, it would start firing the CF request (it would shell out to WGET which would execute the HTTP call to the CF page) every 5 seconds until there was no mail anymore. The first request would actually start the processing and the remaining requests would just abort because the process was already running. This has been working well for us for two months now. I'm sure there are other ways to accomplish this, and maybe even a 'Pure' ColdFusion solution, but I found the overhead on CFPOP so slow that I couldn't reliably expect it to check for messages every 5 seconds successfully without killing my server (sometimes a single CFPOP call would take more than 5 seconds anyway). HTH, Dave -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 3:45 PM To: CF-Talk Subject: CFPOP and Email gateway I have a CRM tool which uses CFPOP to pull the email from the mailbox, parses those email and connects them to an existing open tickets in the CRM tool for that email address. I have a scheduled task which runs every 15 minutes and does the pull,parse and append. I need to have this task run every 2 minutes but because we have a lot already going on in that tool it has huge performance issues. I was thinkin may be, if there is a email gateway or some other method to continusouly listen the mailbox and as soon as we get email parse it, append it. Please advise if any of you have ever looked into some solutions where the app can continuously listen for event (email in this case) without having huge performance impact. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309676 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFPOP and Email gateway
Varun, I forgot to mention that I have my VB app running as a Service on my server. Dave -Original Message- From: Dave Phillips [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 3:59 PM To: CF-Talk Subject: RE: CFPOP and Email gateway Varun, I had an issue like this and couldn't find a 'pure' ColdFusion solution. I ended up building a little VB app that checked the mailbox every 5 seconds to see if had any mail and then, if it did, it would then execute my CF page to pull the mail. Of course, I was checking every 5 seconds, and, as a result, since it would take longer than 5 seconds for my page to run, I had the issue of multiple requests trying to process the mail at the same time. So, I set up a DB variable that would, in effect, 'lock' the process so that it could only be running once at any given time. Once the VB app saw there was mail, it would start firing the CF request (it would shell out to WGET which would execute the HTTP call to the CF page) every 5 seconds until there was no mail anymore. The first request would actually start the processing and the remaining requests would just abort because the process was already running. This has been working well for us for two months now. I'm sure there are other ways to accomplish this, and maybe even a 'Pure' ColdFusion solution, but I found the overhead on CFPOP so slow that I couldn't reliably expect it to check for messages every 5 seconds successfully without killing my server (sometimes a single CFPOP call would take more than 5 seconds anyway). HTH, Dave -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 3:45 PM To: CF-Talk Subject: CFPOP and Email gateway I have a CRM tool which uses CFPOP to pull the email from the mailbox, parses those email and connects them to an existing open tickets in the CRM tool for that email address. I have a scheduled task which runs every 15 minutes and does the pull,parse and append. I need to have this task run every 2 minutes but because we have a lot already going on in that tool it has huge performance issues. I was thinkin may be, if there is a email gateway or some other method to continusouly listen the mailbox and as soon as we get email parse it, append it. Please advise if any of you have ever looked into some solutions where the app can continuously listen for event (email in this case) without having huge performance impact. Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309677 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPOP Inquiry
Graham, we had occasional trouble with cfpop, especially connecting to Lotus Notes. In those circumstances we have used an alternate plug in (CFX_POP3), cost about $50 successfully. Cheers, Bilal ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFPOP #Body# and carriage returns
How are you outputting the body of the E-mail? If you are simply outputting it on an HTML page, you will need to replace carriage returns/line feeds with br tags since HTML ignores them. Either that, or place the output in pre tags. I'm assuming you are dealing with a plain text E-mail. That may or may not be a safe assumption to make though. ~Brad -Original Message- From: Steve Good [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 2:21 PM To: CF-Talk Subject: CFPOP #Body# and carriage returns I am pulling data from a pop3 server using the cfpop tag and everything is working smoothly, but I noticed that there are no carriage returns in the body of the emails. Do I need to specify a delimiter or anything or am I just SOL? -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300990 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPOP #Body# and carriage returns
I am indeed working with plain text emails. I will eventually be outputting the body in html. Thanks for the push in the right direction. ~Steve http://goodcf.instantspot.com/blog Brad Wood wrote: How are you outputting the body of the E-mail? If you are simply outputting it on an HTML page, you will need to replace carriage returns/line feeds with br tags since HTML ignores them. Either that, or place the output in pre tags. I'm assuming you are dealing with a plain text E-mail. That may or may not be a safe assumption to make though. ~Brad -Original Message- From: Steve Good [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 2:21 PM To: CF-Talk Subject: CFPOP #Body# and carriage returns I am pulling data from a pop3 server using the cfpop tag and everything is working smoothly, but I noticed that there are no carriage returns in the body of the emails. Do I need to specify a delimiter or anything or am I just SOL? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300992 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFPOP #Body# and carriage returns
Glad I could help. Here is a snippet of code I have used before when I need to output plain text in HTML. It escapes special HTML characters like and it preserves line breaks as well as tabs. The reason I replace line feeds separately a second time, is sometimes you get line feeds without carriage returns. Yes, regex could simplify that a bit but I'll let you do that. :) !--- Escape any reserved HTML chars --- cfset my_string = htmleditformat(my_string) !--- Put in br's in place of carriage returns line feeds --- cfset my_string = replacenocase(my_string,chr(13)chr(10),br /,all) !--- Put in br's for the preview in place of line feeds --- cfset my_string = replacenocase(my_string, chr(10),br /,all) !--- Replace tabs with 5 spaces --- cfset my_string = replacenocase(my_string,chr(09),nbsp;nbsp;nbsp;nbsp;nbsp;,all) ~Brad -Original Message- From: Steve Good [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 2:36 PM To: CF-Talk Subject: Re: CFPOP #Body# and carriage returns I am indeed working with plain text emails. I will eventually be outputting the body in html. Thanks for the push in the right direction. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301002 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFPOP and Yahoo! mail - possible?
you should be able to, but i think you may need to sign up for Yahoo POP access, which is part of their premium services or whatever they are called now... --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com Mike Kear wrote: Is it possible to get access to a Yahoo! mail box using CFPOP? I know there's a gadget called YPOPs that allows clients like outlook to connect to Yahoo, acting as a sort of proxy. But i haven't been able to make CFPOP and yPOPs talk to each other yet, so I'm not sure if it will work. Does anyone konw if you can get into a Yahoo! mail box with CFPOP? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297984 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFPOP
I'm using it and haven't run into any issues yet. _ Jake Churchill CF Webtools 11204 Davenport, Ste. 200b Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 -Original Message- From: Jenny [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 9:30 PM To: CF-Talk Subject: CFPOP Is this more reliable in CF 7? it wasn't very stable in 6 Anyone using it ? Jenny ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280986 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfpop From Field
Ok, i figured it out by myselft The output that Coldfusion generates looks like that: John Doe [EMAIL PROTECTED] So of course the [EMAIL PROTECTED] doesn't gets displayed by the browser. George Owns [EMAIL PROTECTED] schrieb: Hello there, so I'm trying to do a Bounce Management system by myself. But I ran into another problem: If I output the from - field returned by cfpop I get: John Doe What I want to get is the e-mail address: [EMAIL PROTECTED] So I want to get the e-mail address rather than the name. Can anybody help? - Was ist Glück? Schlafen Fische überhaupt? Die Antworten gibts auf Yahoo! Clever. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255766 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
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... shamelessPlug Oh and if you are on Windows... You could use CFX_POP3 :) /shamelessPlug 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 MessageRemovedException Error
Are you using the messagenumber or uid when you delete the messages? This is a bit of a vague memory but I seem to remember that messagenumber cannot be relied upon 100% and that uid works better. Sorry that is rather sketchy but may give you an avenue to explore. :-) On 3/22/06, LaCroix, Chris [EMAIL PROTECTED] wrote: I have an application that uses CFPOP and most of the time it runs fine, but every once and a while I receive the following error: Error Message: An exception occurred while retrieving mail. Error Detail The cause of this exception was: javax.mail.MessageRemovedException. My code does the following: 1) Loops though 4 exchange mailboxes 2) Getting header only 3) If error while trying to cfpop send email alert to admin, else process wanted mail items then delete processed items. I can also supply some code if that helps. ColdFusion MX Standard Edition (Version 7,0,1,116466) Windows 2003 Exchange 2003 Thanks, --Chris __ This transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you suspect that you have received this communication in error, please notify us immediately by telephone at 1-860-275-8200, or e-mail at [EMAIL PROTECTED] and immediately delete this message and all its attachments. __ This email has been scanned by the MessageLabs Email Security System. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235983 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
RE: CFPOP MessageRemovedException Error
I am using messageNumber to delete the messages, but I error before that. Unless you thinking the message I tried to delete is causing an error the next time the process ran again. FYI: This morning I received this sporadically for over two hours, but have not received the error for the last 3 hours. -Original Message- From: Michael Traher [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 1:44 PM To: CF-Talk Subject: Re: CFPOP MessageRemovedException Error Are you using the messagenumber or uid when you delete the messages? This is a bit of a vague memory but I seem to remember that messagenumber cannot be relied upon 100% and that uid works better. Sorry that is rather sketchy but may give you an avenue to explore. :-) On 3/22/06, LaCroix, Chris [EMAIL PROTECTED] wrote: I have an application that uses CFPOP and most of the time it runs fine, but every once and a while I receive the following error: Error Message: An exception occurred while retrieving mail. Error Detail The cause of this exception was: javax.mail.MessageRemovedException. My code does the following: 1) Loops though 4 exchange mailboxes 2) Getting header only 3) If error while trying to cfpop send email alert to admin, else process wanted mail items then delete processed items. I can also supply some code if that helps. ColdFusion MX Standard Edition (Version 7,0,1,116466) Windows 2003 Exchange 2003 Thanks, --Chris __ This transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you suspect that you have received this communication in error, please notify us immediately by telephone at 1-860-275-8200, or e-mail at [EMAIL PROTECTED] and immediately delete this message and all its attachments. __ This email has been scanned by the MessageLabs Email Security System. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235984 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
RE: CFPOP MessageRemovedException Error
If you are running multiple requests on the same mailbox you may receive this error under the following circumstances Thread 1 processes mail and starts to delete messages Thread 2 connects to the mailbox Thread 1 completes deleting mail. The mail server renumbers any existing mails starting from 1 again. Thread 2 starts processing and attempts to access a messagenumber that no longer exists. It errors out... The use of cflock around all of the calls in a particular page using the name attribute and locking on say [EMAIL PROTECTED] would fix the issue... Paul ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235987 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 MessageRemovedException Error
I think the messagenumber relates to the set you have retrieved, but is not unique, so if you are the only process accessing the mailbox then all is well, but if another process removes a message between you selecting the headers and then trying to do something else with them the messagenumber may now refer to another message. I think using uid is more robust - whether it is the root of your problem is hard to tell... On 3/22/06, LaCroix, Chris [EMAIL PROTECTED] wrote: I am using messageNumber to delete the messages, but I error before that. Unless you thinking the message I tried to delete is causing an error the next time the process ran again. FYI: This morning I received this sporadically for over two hours, but have not received the error for the last 3 hours. -Original Message- From: Michael Traher [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 1:44 PM To: CF-Talk Subject: Re: CFPOP MessageRemovedException Error Are you using the messagenumber or uid when you delete the messages? This is a bit of a vague memory but I seem to remember that messagenumber cannot be relied upon 100% and that uid works better. Sorry that is rather sketchy but may give you an avenue to explore. :-) On 3/22/06, LaCroix, Chris [EMAIL PROTECTED] wrote: I have an application that uses CFPOP and most of the time it runs fine, but every once and a while I receive the following error: Error Message: An exception occurred while retrieving mail. Error Detail The cause of this exception was: javax.mail.MessageRemovedException. My code does the following: 1) Loops though 4 exchange mailboxes 2) Getting header only 3) If error while trying to cfpop send email alert to admin, else process wanted mail items then delete processed items. I can also supply some code if that helps. ColdFusion MX Standard Edition (Version 7,0,1,116466) Windows 2003 Exchange 2003 Thanks, --Chris __ This transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you suspect that you have received this communication in error, please notify us immediately by telephone at 1-860-275-8200, or e-mail at [EMAIL PROTECTED] and immediately delete this message and all its attachments. __ This email has been scanned by the MessageLabs Email Security System. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235989 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 MessageRemovedException Error
I have included my code to see if it helps any. From what your saying I should add cflock around the cfpop and the cfdelete? I assume each step waits for the prior step to complete. cfloop query=qryMailServers cfset strRecServer = #trim(qryMailServers.recServer)# cfset strRecUsername = #trim(qryMailServers.recusername)# cfset strRecPassword = #trim(qryMailServers.recPassword)# cfset bErrorFound = N cftry cfpop server=#strRecServer# username=#strRecUsername# password=#strRecPassword# action=getHeaderOnly name=qryITagentMail cfcatch type=any !--- Error occured with cfpop - send alert mail to admin--- cfset bErrorFound = Y cfmail to=strAlertToAddress from=#strAlertFromAddress# subject=Email Error Notification (POP) -- Exchange Server: #strRecServer# type=html strongExchange Server:/strong #strRecServer# br / strongError Message:/strongbr /#cfcatch.message#br / strongError Detail/strongbr /#cfcatch.Detail#br / /cfmail /cfcatch /cftry cfif bErrorFound EQ N cfloop query=qryITagentMail !---Do something with email data then mark item as ready for deletion--- cfset iDeleteMsg = iDeleteMsg , #qryITagentMail.uid# !--- messageNumber -- store message number you want to delete --- /cfloop !--- Delete These messages after processing --- cfset iDeleteMsg = mid(iDeleteMsg,2,len(iDeleteMsg)) cfif trim(iDeleteMsg) NEQ '' !--- delete selected mailings --- cfpop server=#strRecServer# username=#strRecUsername# password=#strRecPassword# action=Delete messagenumber=#iDeleteMsg# /cfif /cfif /cfloop -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 2:25 PM To: CF-Talk Subject: RE: CFPOP MessageRemovedException Error If you are running multiple requests on the same mailbox you may receive this error under the following circumstances Thread 1 processes mail and starts to delete messages Thread 2 connects to the mailbox Thread 1 completes deleting mail. The mail server renumbers any existing mails starting from 1 again. Thread 2 starts processing and attempts to access a messagenumber that no longer exists. It errors out... The use of cflock around all of the calls in a particular page using the name attribute and locking on say [EMAIL PROTECTED] would fix the issue... Paul ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235991 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
RE: CFPOP MessageRemovedException Error
One lock just before the cftry ending just before the /cfloop cflock name=[EMAIL PROTECTED] type=exclusive timeout=60 . /cflock Should stop the problem... Paul -Original Message- From: LaCroix, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, 22 March 2006 20:05 To: CF-Talk Subject: RE: CFPOP MessageRemovedException Error I have included my code to see if it helps any. From what your saying I should add cflock around the cfpop and the cfdelete? I assume each step waits for the prior step to complete. cfloop query=qryMailServers cfset strRecServer = #trim(qryMailServers.recServer)# cfset strRecUsername = #trim(qryMailServers.recusername)# cfset strRecPassword = #trim(qryMailServers.recPassword)# cfset bErrorFound = N cftry cfpop server=#strRecServer# username=#strRecUsername# password=#strRecPassword# action=getHeaderOnly name=qryITagentMail cfcatch type=any !--- Error occured with cfpop - send alert mail to admin--- cfset bErrorFound = Y cfmail to=strAlertToAddress from=#strAlertFromAddress# subject=Email Error Notification (POP) -- Exchange Server: #strRecServer# type=html strongExchange Server:/strong #strRecServer# br / strongError Message:/strongbr /#cfcatch.message#br / strongError Detail/strongbr /#cfcatch.Detail#br / /cfmail /cfcatch /cftry cfif bErrorFound EQ N cfloop query=qryITagentMail !---Do something with email data then mark item as ready for deletion--- cfset iDeleteMsg = iDeleteMsg , #qryITagentMail.uid# !--- messageNumber -- store message number you want to delete --- /cfloop !--- Delete These messages after processing --- cfset iDeleteMsg = mid(iDeleteMsg,2,len(iDeleteMsg)) cfif trim(iDeleteMsg) NEQ '' !--- delete selected mailings --- cfpop server=#strRecServer# username=#strRecUsername# password=#strRecPassword# action=Delete messagenumber=#iDeleteMsg# /cfif /cfif /cfloop -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 2:25 PM To: CF-Talk Subject: RE: CFPOP MessageRemovedException Error If you are running multiple requests on the same mailbox you may receive this error under the following circumstances Thread 1 processes mail and starts to delete messages Thread 2 connects to the mailbox Thread 1 completes deleting mail. The mail server renumbers any existing mails starting from 1 again. Thread 2 starts processing and attempts to access a messagenumber that no longer exists. It errors out... The use of cflock around all of the calls in a particular page using the name attribute and locking on say [EMAIL PROTECTED] would fix the issue... Paul ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236002 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
RE: CFPOP errors
Are you using CFLOCK to make each account access single threaded? Something like cflock name=youraccount type=exclusive cfpop action=getheaders !--- process mails --- cfpop action=delete /cflock That way if a user requests the page twice, the getheaders and delete calls won't tread on each others toes... That should fix your issue with the MessageRemovedException errors you're getting. Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219532 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 errors
Paul, I thought I was locking, but I just checked and it was commented out. Doh. I'll see if adding it back makes the RemovedException error go away. Any ideas on the encoding issue? Is there something to test with or debug on this one? Cedric Are you using CFLOCK to make each account access single threaded? Something like cflock name=youraccount type=exclusive cfpop action=getheaders !--- process mails --- cfpop action=delete /cflock That way if a user requests the page twice, the getheaders and delete calls won't tread on each others toes... That should fix your issue with the MessageRemovedException errors you're getting. Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219540 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 errors
Cedric Villat wrote: Any ideas on the encoding issue? Is there something to test with or debug on this one? first see if Big5 is part of your JDK. http://www.sustainablegis.com/projects/i18n/charsetTB.cfm did you change the JDK that cf uses? did you upgrade from 6.0? if so search the cf install dir for an i18n.jar, stop cfserver service, copy the i18n jar out, restart the cfserver service. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219547 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
RE: CFPOP attachment error (potential bug)
If you're on windows, CFX_POP3 will process those messages without a problem. I know because I fixed CFX_POP3 when it had the same error a year or so ago... Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209713 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/CFX_POP3
Looks like I got some work to do... My mail server is ArgoSoft and I can build server extensions for it I wonder if I can get the server to actually do this. I do not want to slow down the web mail client anymore. The new version of ArgoSoft has an RSS feed built in so it makes it very fast to download mail. The only time I use CFPOP/CDX_POP is for attachments. If I have to do anymore email processing I think I will defeat the purpose of using the feed. Anyone else already built something that uses the TNEF? Is this something Macromedia will look into? Ben, any thoughts? Rick -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: April 2, 2005 3:26 PM To: CF-Talk Subject: RE: CFPOP/CFX_POP3 Hi Rick, I'm afraid it isn't something that would allow me to update CFX_POP3 however this ne could actually be used in CFPOP if MM so chose to build it in :) On the other hand, I have found a component that will work with CFX_POP3 however it still requires some work as it has been neglected for about 6 years and is not compatible with CFX_POP3 straight out of the box so to speak... Going back to the jar file you have installed, you will need to look out for the winmail.dat files in the attachments field that CFPOP and CFX_POP3 generate and then instantiate the tnef decoder object using a UDF or CFC to wrap up the funcionality of the jar file that you now have in your classpath. Essentially the UDF/CFC would read the attachment into a filestream and then pass it to the TNEFInputStream class to decode it and let you manipulate the attachments that are held within the .dat file. HTH Paul -Original Message- From: Rick Eidson [mailto:[EMAIL PROTECTED] Sent: Saturday, 02 April 2005 21:57 To: CF-Talk Subject: RE: CFPOP/CFX_POP3 I downloaded this and put in my class path but it still doing the same thing. Is there something I need to do to the file? And can I do it on the server for all users. Is this something that will allow you to update CFX_POP3? Rick -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: April 2, 2005 1:05 PM To: CF-Talk Subject: RE: CFPOP/CFX_POP3 Rick, I just found a free java implementation of a TNEF decoder http://www.freeutils.net/source/jtnef/ Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201294 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/CFX_POP3
Hi Rick, AFAIK, the winmail.dat attachment is an undocumented MS proprietary format for attachments when using Exchange. As CFPOP and CFX_POP and most other mail clients only know about the rfc compliant mail formats. The content-type for that attachment should be microsoft/tnef if you search on Google for that you will find lots of people wanting to know how you decode them If I find some components that I can build into CFX_POP3 then I may just add the feature but I've never come across any and I haven't the time to reverse engineer their undocumented format... :( Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201270 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/CFX_POP3
Rick, I just found a free java implementation of a TNEF decoder http://www.freeutils.net/source/jtnef/ Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201271 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
RE: CFPOP/CFX_POP3
I downloaded this and put in my class path but it still doing the same thing. Is there something I need to do to the file? And can I do it on the server for all users. Is this something that will allow you to update CFX_POP3? Rick -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: April 2, 2005 1:05 PM To: CF-Talk Subject: RE: CFPOP/CFX_POP3 Rick, I just found a free java implementation of a TNEF decoder http://www.freeutils.net/source/jtnef/ Paul ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201274 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/CFX_POP3
Hi Rick, I'm afraid it isn't something that would allow me to update CFX_POP3 however this ne could actually be used in CFPOP if MM so chose to build it in :) On the other hand, I have found a component that will work with CFX_POP3 however it still requires some work as it has been neglected for about 6 years and is not compatible with CFX_POP3 straight out of the box so to speak... Going back to the jar file you have installed, you will need to look out for the winmail.dat files in the attachments field that CFPOP and CFX_POP3 generate and then instantiate the tnef decoder object using a UDF or CFC to wrap up the funcionality of the jar file that you now have in your classpath. Essentially the UDF/CFC would read the attachment into a filestream and then pass it to the TNEFInputStream class to decode it and let you manipulate the attachments that are held within the .dat file. HTH Paul -Original Message- From: Rick Eidson [mailto:[EMAIL PROTECTED] Sent: Saturday, 02 April 2005 21:57 To: CF-Talk Subject: RE: CFPOP/CFX_POP3 I downloaded this and put in my class path but it still doing the same thing. Is there something I need to do to the file? And can I do it on the server for all users. Is this something that will allow you to update CFX_POP3? Rick -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: April 2, 2005 1:05 PM To: CF-Talk Subject: RE: CFPOP/CFX_POP3 Rick, I just found a free java implementation of a TNEF decoder http://www.freeutils.net/source/jtnef/ Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201275 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
Re: CFPOP - returned timestamps GRR!
Adam, Point taken. But would why bother including a component which is flawed in two pretty fundamental ways? If this was a problem with an open source platform (say, PHP which by the way has several flawless POP3 implementations), I wouldn't be upset. I would politely request that it be fixed, and I would be able to obtain a bleeding edge patch to help test. But I chose CF for all the good things it offers. RAD being the main one. But why should I pay the (expensive) license fees for buggy software? Yes, it is buggy: there is no other way to describe it. Suddenly that RAD feature goes out the window while I dick around trying to come up with a disgusting, inelegant kludge. Do you release buggy, substandard software to your clients? Yes, software will always have bugs. But when they are present in development tools, its tenfold more frustrating. Anyway, the organisation I work for has a pretty good relationship with MS. I hope the substantial resources of MM can get bugs these fixed for me and all the other CF users out there. Regards, Jono Sometimes your chosen platform cannot do what you think it should be able to do. You are then forced to write code to get it to do what you want. We call this programing. ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191644 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
RE: CFPOP - returned timestamps GRR!
Jon, As you've already stated, you can't use CFX_POP3 so unless you can find a Java based replacement for CFPOP you aren't going to be able to do much to improve the state of your issues. Identifying the content-type of each attachment would mean extra functionality in CFPOP that just isn't there. It needs a column in its results that matches the attachmentfiles in approach and for every attachment, it should provide the content type. Moving onto your other questions 1. My POP account receives several emails. Fetching them with CF, the DATE column of the returned CFPOP query are all the same, for example 01/01/2000 10:10:10. The action is getHeaderOnly. POP dates can't be trusted in the headers at all as they are set by the Client application at the point of send. I regularly see junk dates. If however there is a difference between CFPOP and other mail clients then that is a problem. Sometimes, it depends on how robust the POP client is at handling incorrectly formatted Date fields as to how good the date looks when its returned... 2. I fetch the emails using a regular POP3 client (Thunderbird 1.0 in this case), they display the correct date. This client is set to delete as they are downloaded. 3. I then send some more emails to my POP account and fetch them using CF. The DATE column is essentially refreshed to the time that Thunderbird fetched/deleted the emails. Hmmm... But you said the original mails were deleted. Have you tried looking at the headers using a telnet session to your server and deciphering the date field yourself as a double check. If I switch off the delete after download option in Thunderbird, the date/time is not refreshed. This leads me to the conclusion that the DATE column in the query returned by CFPOP IS NOT parsed from the date header of the email message. It is parsed, you just can't trust it. - see above. Is it just me, or is this behaviour incredibly stupid? Is my POP3 daemon (courier pop3d MySQL enabled) broken? Yes, my system time is correct: synchronized with two stratum 1 NTP servers. The POP3 daemon will only be responsible for adding a date to the received header of your mail. If you check using a telnet session to your POP account, you will see that the first received header you see will be the one that was added to the mail by your SMTP service. Is there a way to access the raw message source so I can at least parse it out myself? Not with CFPOP. You could emulate a POP client using some sort of socket plugin for CF effectively emulating a telnet connection over port 110. Is this wrong, or am I just crazy. What the frig is the point of having a half-assed poorly implemented POP3 client? God help me when I need to start using CFFTP or CFHTTP. From my experience, CFFTP and CFHTTP although flaky in previous versions are pretty robust in CFMX 6.0 and above CFMX6.1 updater for us is rock solid. And no, don't tell me to use CFX_POP or something else, because a) the Macromedia implementation should work and b) I'm hosted on a Unix environment. Ok, I won't tell you to use my tags :). Unless you wan't to write something yourself. You are hosed on a Unix box :( Seriously though, if you need any help with doing something like that, I'll try to help where I can. I've at least got a heap load of experience with CF and POP3 that I can offer. Don't even get me started on the broken inline image CID munging issue in CFPOP. I agree this is another issue with CFPOP, CID fields could also be passed back to the query in a similar fashion to attachmentfiles but they aren't which is a shame. Paul ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191519 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 - returned timestamps GRR!
Hi Paul, Thanks for your input. As you've already stated, you can't use CFX_POP3 so unless you can find a Java based replacement for CFPOP you aren't going to be able to do much to improve the state of your issues. Unfortunately, this is the case. Feel like writing a Java implementation? :) I'm sure there are plenty of public-domain POP classes out there already. Identifying the content-type of each attachment would mean extra functionality in CFPOP that just isn't there. It needs a column in its results that matches the attachmentfiles in approach and for every attachment, it should provide the content type. Yes, and this of course would make sense. Moving onto your other questions 1. My POP account receives several emails. Fetching them with CF, the DATE column of the returned CFPOP query are all the same, for example 01/01/2000 10:10:10. The action is getHeaderOnly. POP dates can't be trusted in the headers at all as they are set by the Client application at the point of send. I regularly see junk dates. If however there is a difference between CFPOP and other mail clients then that is a problem. OK, just to be clear, there is the Date header which is set by the sending client. Then there are the Recieved headers which there is one of for each hop that the mail takes. For instance, your message has 5: Received: by 10.54.3.22 with SMTP id 22cs4099wrc; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Received: by 10.54.29.4 with SMTP id c4mr370458wrc; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Return-Path: listmaster@houseoffusion.com Received: from houseoffusion.com (houseoffusion.com [64.118.64.245]) by mx.gmail.com with ESMTP id 43si210052wri.2005.01.24.00.44.12; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Received-SPF: pass (gmail.com: domain of listmaster@houseoffusion.com designates 64.118.64.245 as permitted sender) Received: from LOCALHOST by LOCALHOST with ESMTP id 299154C824E719429891DCDF31C95694 Mon, 24 Jan 2005 03:38:57 -0500 Sometimes, it depends on how robust the POP client is at handling incorrectly formatted Date fields as to how good the date looks when its returned... 2. I fetch the emails using a regular POP3 client (Thunderbird 1.0 in this case), they display the correct date. This client is set to delete as they are downloaded. 3. I then send some more emails to my POP account and fetch them using CF. The DATE column is essentially refreshed to the time that Thunderbird fetched/deleted the emails. Hmmm... But you said the original mails were deleted. Have you tried looking at the headers using a telnet session to your server and deciphering the date field yourself as a double check. Yes, the original emails are deleted. But I then send a few more test ones, and they are all fetched with the date column being set to the time I last fetched/deleted. If I switch off the delete after download option in Thunderbird, the date/time is not refreshed. This leads me to the conclusion that the DATE column in the query returned by CFPOP IS NOT parsed from the date header of the email message. It is parsed, you just can't trust it. - see above. Dang. Is it just me, or is this behaviour incredibly stupid? Is my POP3 daemon (courier pop3d MySQL enabled) broken? Yes, my system time is correct: synchronized with two stratum 1 NTP servers. The POP3 daemon will only be responsible for adding a date to the received header of your mail. If you check using a telnet session to your POP account, you will see that the first received header you see will be the one that was added to the mail by your SMTP service. Is this the date header or the recieved header? Is there a way to access the raw message source so I can at least parse it out myself? Not with CFPOP. You could emulate a POP client using some sort of socket plugin for CF effectively emulating a telnet connection over port 110. Not interested; CF is not excatly an ideal protocol handler. Is this wrong, or am I just crazy. What the frig is the point of having a half-assed poorly implemented POP3 client? God help me when I need to start using CFFTP or CFHTTP. From my experience, CFFTP and CFHTTP although flaky in previous versions are pretty robust in CFMX 6.0 and above CFMX6.1 updater for us is rock solid. Yeah, I'm just on a rant. :) And no, don't tell me to use CFX_POP or something else, because a) the Macromedia implementation should work and b) I'm hosted on a Unix environment. Ok, I won't tell you to use my tags :). Unless you wan't to write something yourself. You are hosed on a Unix box :( Seriously though, if you need any help with doing something like that, I'll try to help where I can. I've at least got a heap load of experience with CF and POP3 that I can offer. I understand; if they would compile and run on Linux, I would be using them in a flash. These MM bugs are seriously holding
Re: CFPOP - returned timestamps GRR!
Hi Paul, Thanks for your input. As you've already stated, you can't use CFX_POP3 so unless you can find a Java based replacement for CFPOP you aren't going to be able to do much to improve the state of your issues. Unfortunately, this is the case. Feel like writing a Java implementation? :) I'm sure there are plenty of public-domain POP classes out there already. Identifying the content-type of each attachment would mean extra functionality in CFPOP that just isn't there. It needs a column in its results that matches the attachmentfiles in approach and for every attachment, it should provide the content type. Yes, and this of course would make sense. Moving onto your other questions 1. My POP account receives several emails. Fetching them with CF, the DATE column of the returned CFPOP query are all the same, for example 01/01/2000 10:10:10. The action is getHeaderOnly. POP dates can't be trusted in the headers at all as they are set by the Client application at the point of send. I regularly see junk dates. If however there is a difference between CFPOP and other mail clients then that is a problem. OK, just to be clear, there is the Date header which is set by the sending client. Then there are the Received headers which there is one of for each hop that the mail takes. For instance, your message has 5: Received: by 10.54.3.22 with SMTP id 22cs4099wrc; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Received: by 10.54.29.4 with SMTP id c4mr370458wrc; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Return-Path: listmaster@houseoffusion.com Received: from houseoffusion.com (houseoffusion.com [64.118.64.245]) by mx.gmail.com with ESMTP id 43si210052wri.2005.01.24.00.44.12; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Received-SPF: pass (gmail.com: domain of listmaster@houseoffusion.com designates 64.118.64.245 as permitted sender) Received: from LOCALHOST by LOCALHOST with ESMTP id 299154C824E719429891DCDF31C95694 Mon, 24 Jan 2005 03:38:57 -0500 Sometimes, it depends on how robust the POP client is at handling incorrectly formatted Date fields as to how good the date looks when its returned... 2. I fetch the emails using a regular POP3 client (Thunderbird 1.0 in this case), they display the correct date. This client is set to delete as they are downloaded. 3. I then send some more emails to my POP account and fetch them using CF. The DATE column is essentially refreshed to the time that Thunderbird fetched/deleted the emails. Hmmm... But you said the original mails were deleted. Have you tried looking at the headers using a telnet session to your server and deciphering the date field yourself as a double check. Yes, the original emails are deleted. But I then send a few more test ones, and they are all fetched with the date column being set to the time I last fetched/deleted. If I switch off the delete after download option in Thunderbird, the date/time is not refreshed. This leads me to the conclusion that the DATE column in the query returned by CFPOP IS NOT parsed from the date header of the email message. It is parsed, you just can't trust it. - see above. Dang. Is it just me, or is this behaviour incredibly stupid? Is my POP3 daemon (courier pop3d MySQL enabled) broken? Yes, my system time is correct: synchronized with two stratum 1 NTP servers. The POP3 daemon will only be responsible for adding a date to the received header of your mail. If you check using a telnet session to your POP account, you will see that the first received header you see will be the one that was added to the mail by your SMTP service. Is this the date header or the received header? Is there a way to access the raw message source so I can at least parse it out myself? Not with CFPOP. You could emulate a POP client using some sort of socket plugin for CF effectively emulating a telnet connection over port 110. Not interested; CF is not exactly an ideal protocol handler. Is this wrong, or am I just crazy. What the frig is the point of having a half-assed poorly implemented POP3 client? God help me when I need to start using CFFTP or CFHTTP. From my experience, CFFTP and CFHTTP although flaky in previous versions are pretty robust in CFMX 6.0 and above CFMX6.1 updater for us is rock solid. Yeah, I'm just on a rant. :) And no, don't tell me to use CFX_POP or something else, because a) the Macromedia implementation should work and b) I'm hosted on a Unix environment. Ok, I won't tell you to use my tags :). Unless you wan't to write something yourself. You are hosed on a Unix box :( Seriously though, if you need any help with doing something like that, I'll try to help where I can. I've at least got a heap load of experience with CF and POP3 that I can offer. I understand; if they would compile and run on Linux, I would be using them in a flash. These MM bugs are seriously holding
Re: CFPOP - returned timestamps GRR!
Hi Paul, Thanks for your input. As you've already stated, you can't use CFX_POP3 so unless you can find a Java based replacement for CFPOP you aren't going to be able to do much to improve the state of your issues. Unfortunately, this is the case. Feel like writing a Java implementation? :) I'm sure there are plenty of public-domain POP classes out there already. Identifying the content-type of each attachment would mean extra functionality in CFPOP that just isn't there. It needs a column in its results that matches the attachmentfiles in approach and for every attachment, it should provide the content type. Yes, and this of course would make sense. POP dates can't be trusted in the headers at all as they are set by the Client application at the point of send. I regularly see junk dates. If however there is a difference between CFPOP and other mail clients then that is a problem. OK, just to be clear, there is the Date header which is set by the sending client. Then there are the Recieved headers which there is one of for each hop that the mail takes. For instance, your message has 5: Received: by 10.54.3.22 with SMTP id 22cs4099wrc; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Received: by 10.54.29.4 with SMTP id c4mr370458wrc; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Return-Path: listmaster@houseoffusion.com Received: from houseoffusion.com (houseoffusion.com [64.118.64.245]) by mx.gmail.com with ESMTP id 43si210052wri.2005.01.24.00.44.12; Mon, 24 Jan 2005 00:44:16 -0800 (PST) Received-SPF: pass (gmail.com: domain of listmaster@houseoffusion.com designates 64.118.64.245 as permitted sender) Received: from LOCALHOST by LOCALHOST with ESMTP id 299154C824E719429891DCDF31C95694 Mon, 24 Jan 2005 03:38:57 -0500 Hmmm... But you said the original mails were deleted. Have you tried looking at the headers using a telnet session to your server and deciphering the date field yourself as a double check. Yes, the original emails are deleted. But I then send a few more test ones, and they are all fetched with the date column being set to the time I last fetched/deleted. It is parsed, you just can't trust it. - see above. Dang. The POP3 daemon will only be responsible for adding a date to the received header of your mail. If you check using a telnet session to your POP account, you will see that the first received header you see will be the one that was added to the mail by your SMTP service. Is this the date header or the recieved header? Is there a way to access the raw message source so I can at least parse it out myself? Not with CFPOP. You could emulate a POP client using some sort of socket plugin for CF effectively emulating a telnet connection over port 110. Not interested; CF is not excatly an ideal protocol handler. From my experience, CFFTP and CFHTTP although flaky in previous versions are pretty robust in CFMX 6.0 and above CFMX6.1 updater for us is rock solid. Yeah, I'm just on a rant. :) Ok, I won't tell you to use my tags :). Unless you wan't to write something yourself. You are hosed on a Unix box :( Seriously though, if you need any help with doing something like that, I'll try to help where I can. I've at least got a heap load of experience with CF and POP3 that I can offer. I understand; if they would compile and run on Linux, I would be using them in a flash. These MM bugs are seriously holding up our development. I agree this is another issue with CFPOP, CID fields could also be passed back to the query in a similar fashion to attachmentfiles but they aren't which is a shame. We have a bug open with MM on this, but I don't think we will even see it fixed in Blackstone. Thanks for your input. ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191613 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
RE: CFPOP - returned timestamps GRR!
Unfortunately, this is the case. Feel like writing a Java implementation? :) I'm sure there are plenty of public-domain POP classes out there already. Can you say no utf-7 support? With Sun not supporting unicode utf-7 it seems to me that it's a poor choice for writing any sort of e-mail client until the utf-7 encoding dies out... This I suspect will take a long time... OK, just to be clear, there is the Date header which is set by the sending client. Then there are the Received headers which there is one of for each hop that the mail takes. For instance, your message has 5: Yes this is correct. Received headers are added by the SMTP servers that relay the mail and as such their dates should be reliable. The DATE header however is set by the client and should be the sent DateTime but invariably thanks to spammers is usually hours, days or even years away from what would be considered an accurate datetime value... Also some mail clients don't format the date field correctly which is inexcusable As you saw with the headers you pasted, after accounting for timezones, the date time values are all within 6 minutes of each other. Allowing for server load and mail delays, the times are what you would expect with regards to normal e-mail delivery. Yes, the original emails are deleted. But I then send a few more test ones, and they are all fetched with the date column being set to the time I last fetched/deleted. This would be the date field so it should report the date/time that you SENT your mails. If you sent them just after you deleted the other mails then this sounds about right... The POP3 daemon will only be responsible for adding a date to the received header of your mail. If you check using a telnet session to your POP account, you will see that the first received header you see will be the one that was added to the mail by your SMTP service. Is this the date header or the received header? This is the received header. I understand; if they would compile and run on Linux, I would be using them in a flash. These MM bugs are seriously holding up our development. You know much about Kylix??? They *should* port with some work to them and a port of the CFXAPI header to Kylix... Unfortunately, I don't have the time at the moment... :( Paul ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191617 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
Re: CFPOP - returned timestamps GRR!
On Tue, 25 Jan 2005 09:15:10 +1000, Jon Austin [EMAIL PROTECTED] wrote: I understand; if they would compile and run on Linux, I would be using them in a flash. These MM bugs are seriously holding up our development. Sometimes your chosen platform cannot do what you think it should be able to do. You are then forced to write code to get it to do what you want. We call this programing. Rock on. -Adam ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191626 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 - returned timestamps GRR!
Further to my CFPOP frustrations, does anyone know of a way to determine the MIME type of the attachments? This is a bug I need to close from awhile ago, and last time I looked at it, you can't. Regards, Jon On Mon, 24 Jan 2005 14:20:42 +1000, Jon Austin [EMAIL PROTECTED] wrote: Hi all, This is somewhat of a complex issue. The scenario works as follows: 1. My POP account receives several emails. Fetching them with CF, the DATE column of the returned CFPOP query are all the same, for example 01/01/2000 10:10:10. The action is getHeaderOnly. 2. I fetch the emails using a regular POP3 client (Thunderbird 1.0 in this case), they display the correct date. This client is set to delete as they are downloaded. 3. I then send some more emails to my POP account and fetch them using CF. The DATE column is essentially refreshed to the time that Thunderbird fetched/deleted the emails. If I switch off the delete after download option in Thunderbird, the date/time is not refreshed. This leads me to the conclusion that the DATE column in the query returned by CFPOP IS NOT parsed from the date header of the email message. rant Is it just me, or is this behaviour incredibly stupid? Is my POP3 daemon (courier pop3d MySQL enabled) broken? Yes, my system time is correct: synchronized with two stratum 1 NTP servers. Is there a way to access the raw message source so I can at least parse it out myself? Is this wrong, or am I just crazy. What the frig is the point of having a half-assed poorly implemented POP3 client? God help me when I need to start using CFFTP or CFHTTP. And no, don't tell me to use CFX_POP or something else, because a) the Macromedia implementation should work and b) I'm hosted on a Unix environment. Don't even get me started on the broken inline image CID munging issue in CFPOP. /rant Frustratingly yours, Jono ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191515 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 unicode handling
Paul Vernon wrote: I think that just about covers it except perhaps that sun will probably never fix this. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191329 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 unicode handling
Russ wrote: I am using cfpop for some e-mail bounce handling functionality, and I'm getting the following error when trying to retrieve the body of the e-mail: An exception occurred while retrieving mail. The cause of this exception was: java.io.UnsupportedEncodingException: unicode-1-1-utf-7. I'm guessing that cfpop doesn't handle Unicode that well? Shouldn't this have been fixed by now? Have you searched the archives? A lot has been said and many fingers have been pointed about this problem. Jochem ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191301 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
RE: cfpop unicode handling
If you do search the archives you will probably find the following details... The utf-7 charset isn't supported by Sun and its JVM as it is regarded as a obsolete charset. It's been an outstanding 'issue' with the JVM for years... This isn't a CFMX problem, it's a Java problem. CFX_POP3 (if you run on windows) and possibly other CFPOP replacements for other platforms do support UTF-7 regardless of the CF version you run :) I think that just about covers it Paul ~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191302 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
RE: cfpop unicode handling
I searched the archives, but found only a handful of cfpop messages with none really mentioning Unicode specifically. Russ -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, January 20, 2005 6:25 PM To: CF-Talk Subject: Re: cfpop unicode handling Russ wrote: I am using cfpop for some e-mail bounce handling functionality, and I'm getting the following error when trying to retrieve the body of the e-mail: An exception occurred while retrieving mail. The cause of this exception was: java.io.UnsupportedEncodingException: unicode-1-1-utf-7. I'm guessing that cfpop doesn't handle Unicode that well? Shouldn't this have been fixed by now? Have you searched the archives? A lot has been said and many fingers have been pointed about this problem. Jochem ~| 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:191304 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 Parsing Question
Hi Jamie, This is just a quick guess, I've never really used CFPOP... but as CFPOP returns a query, I'm sure you could do a Query of Queries on the result. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/ using_re.htm#wp1181595 For more info on QofQ Ant On 21 Dec 2004, at 14:53, Jamie Price wrote: I'm thinking of setting up a CF application to process AOL Postmaster notices for me. I can direct the notices to an email account and pop them with CF, however I want to do a little bit of filtering too - specifically I want to find the following line in the body of the email's Raw Content: Received: from SMTP32-FWD by SomeDomain.xyz the phrase 'SMTP32-FWD' is unique - if it appears at all it will only appear once. My filter needs to work something like this: if message body contains SMTP32-FWD then 'Send an email' to [EMAIL PROTECTED] (where SomeDomain.xyz is the domain found in the same line as SMTP32-FWD) Question: how do i search through the contents of a message once i pop it? ~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188373 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 fails on unicode-1-1-utf-7 ????
if i recall correctly unicode-1-1-utf-7 is obsolete Obsolete maybe, but still one of the most prevalent character set encodings for bounce messages :( MS mail servers produce mails encoded with this character set for instance... Overall about 70% of bounce messages I deal with are encoded with unicode-1-1-utf-7 followed up with a mix of US-ASCII, WINDOWS-1252 and very rarely utf-8. If I didn't handle them (utf-7 encoded mails) by choosing to skip or delete them, the effectiveness of tracking bounce messages would be pretty much killed. Paul ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183689 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 fails on unicode-1-1-utf-7 ????
Unfortunately, afaik, you can't do anything. You can delete the message however. On Tue, 09 Nov 2004 01:02:47 -0500, Anders Green [EMAIL PROTECTED] wrote: Raymond Camden wrote: You can, however, get one msg at a time wrapped in cftry. And when it craps out, do what with the message? Still can't read it. :( At 12:26 AM 11/9/2004, Paul Hastings wrote: if i recall correctly unicode-1-1-utf-7 is obsolete so don't expect much action from anybody on this. Ahhh. Sounds about right. I bought the CFX_POP3 tag as mentioned. It handled the problem email without any problems. Also it managed the .eml attachments, which CF_POP didn't. So I'm back in business. :) Anders +===+ |Anders Green Email: [EMAIL PROTECTED] | | Home: 919.303.0218 | |Off Road Rally Racing Team: http://LinaRacing.com/ | +===+ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183690 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 fails on unicode-1-1-utf-7 ????
Try http://store.newmediadevelopment.net/cfdevelopment.cfm (CFX_POP) Windows only though. 8-(( If you are on Linux you are f*cked Allan - Original Message - From: Anders Green [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 08, 2004 3:17 PM Subject: CFPOP fails on unicode-1-1-utf-7 There I am, CFPOPing along, when suddenly, BAM! The cause of this exception was: java.io.UnsupportedEncodingException: unicode-1-1-utf-7. The error occurred in C:\...\task-checkforbouncedemail.cfm: line 80 79 : CFPOPaction=GETALL 80 : server=#gBounceEmailServer# 81 : name=popHeaderReading 82 : username=#gBounceEmailUsername# Now, what would cause something like that? Other emails are getting processed... So I downloaded the suspected offender. Any ideas? Here's the header, and body start: X-Persona: RSVP InviteBot Received: from mc3-s8.hotmail.com ([65.54.163.207]) by RSVPtracker.com ; Sun, 07 Nov 2004 20:31:10 -0500 Received: from mc3-f31.hotmail.com ([64.4.50.167]) by mc3-s8.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Sun, 7 Nov 2004 17:31:10 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sun, 7 Nov 2004 17:31:04 -0800 MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary=9B095B5ADSN=_01C4C4DF42975D864D06mc3?f31.hotmail. Message-ID: [EMAIL PROTECTED] Subject: Delivery Status Notification (Failure) Return-Path: X-OriginalArrivalTime: 08 Nov 2004 01:31:10.0231 (UTC) FILETIME=[A0570270:01C4C532] X-Rcpt-To: [EMAIL PROTECTED] X-DPOP: Version number supressed X-UIDL: 1099877835.22015 Status: RO This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] Reporting-MTA: dns;mc3-f31.hotmail.com Received-From-MTA: dns;RSVPtracker.com Arrival-Date: Sun, 7 Nov 2004 17:31:04 -0800 Final-Recipient: rfc822;[EMAIL PROTECTED] Action: failed and some more stuff followed. +===+ |Anders Green Email: [EMAIL PROTECTED] | | Home: 919.303.0218 | |Off Road Rally Racing Team: http://LinaRacing.com/ | +===+ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183610 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
Re: CFPOP fails on unicode-1-1-utf-7 ????
At 09:22 AM 11/8/2004, you wrote: Windows only though. 8-(( I apologize, I was telling myself to include this information but like an idiot got caught up in the cut'n'paste. System: Win2000 CFMX 6.1 I'll take a look at the CFX_pop. So is there a list of known limitations in CFPOP? Are there other alternatives as well? Cheers all, Anders +===+ |Anders Green Email: [EMAIL PROTECTED] | | Home: 919.303.0218 | |Off Road Rally Racing Team: http://LinaRacing.com/ | +===+ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183612 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 fails on unicode-1-1-utf-7 ????
This is a bug with the underlying Java code, not really CF per se. Unfortunately, it means you simply cannot use CFPOP/GetAll. You can, however, get one msg at a time wrapped in cftry. On Mon, 08 Nov 2004 09:17:18 -0500, Anders Green [EMAIL PROTECTED] wrote: There I am, CFPOPing along, when suddenly, BAM! The cause of this exception was: java.io.UnsupportedEncodingException: unicode-1-1-utf-7. The error occurred in C:\...\task-checkforbouncedemail.cfm: line 80 79 : CFPOPaction=GETALL 80 : server=#gBounceEmailServer# 81 : name=popHeaderReading 82 : username=#gBounceEmailUsername# -- ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183613 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 fails on unicode-1-1-utf-7 ????
Raymond Camden wrote: This is a bug with the underlying Java code, not really CF per se. Unfortunately, it means you simply cannot use CFPOP/GetAll. You can, however, get one msg at a time wrapped in cftry. if i recall correctly unicode-1-1-utf-7 is obsolete so don't expect much action from anybody on this. beyond that, utf-7 (might as well be an alias for unicode-1-1-utf-7) was once described years ago on the unicode mailing list as ...a silly charset that has no real reason to exist any more. further sun doesn't think this is a bug and so probably won't fix it. and in case, you're wondering this has been an issue for *years*: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4304013 there is an interesting comment in that bug parade about using icu to handle utf-7. if there were some way to actually return the mail body i suppose converting to some other encoding wouldn't be that hard. ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183683 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 fails on unicode-1-1-utf-7 ????
Raymond Camden wrote: You can, however, get one msg at a time wrapped in cftry. And when it craps out, do what with the message? Still can't read it. :( At 12:26 AM 11/9/2004, Paul Hastings wrote: if i recall correctly unicode-1-1-utf-7 is obsolete so don't expect much action from anybody on this. Ahhh. Sounds about right. I bought the CFX_POP3 tag as mentioned. It handled the problem email without any problems. Also it managed the .eml attachments, which CF_POP didn't. So I'm back in business. :) Anders +===+ |Anders Green Email: [EMAIL PROTECTED] | | Home: 919.303.0218 | |Off Road Rally Racing Team: http://LinaRacing.com/ | +===+ ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183684 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
Re: CFPOP Issues
Did you find the source of the problem? We have the same issue, which cause jrun to spike at 100% Thanks Victor On Thu, 23 Sep 2004 15:16:22 -0400, phil williams [EMAIL PROTECTED] wrote: If you're running on Windows, you could try CFX_POP3. If you want to try before you buy, then contact me offlist! Paul Already got that tag installed on the server.If I could understand what is actually causing the error then I could advise the customer. Could it be down to not using CFLOCK perhaps? Sorry just reread your message.Great tag btw, I'm using it to build a full webmail client... :-) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP Issues
If you're running on Windows, you could try CFX_POP3. If you want to try before you buy, then contact me offlist! Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP Issues
If you're running on Windows, you could try CFX_POP3. If you want to try before you buy, then contact me offlist! Paul Already got that tag installed on the server.If I could understand what is actually causing the error then I could advise the customer.Could it be down to not using CFLOCK perhaps? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP Issues
If you're running on Windows, you could try CFX_POP3. If you want to try before you buy, then contact me offlist! Paul Already got that tag installed on the server.If I could understand what is actually causing the error then I could advise the customer. Could it be down to not using CFLOCK perhaps? Sorry just reread your message.Great tag btw, I'm using it to build a full webmail client... :-) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfpop alternatives
try cfx_pop3.I don't think you'll be disappointed. the tag works great...and as far as service...any time an update comes out Paul e-mails it to you.you don't have to worry about missing an update or constantly check a site to see if an update is available. honestly, it's been a couple of years since i've used it...but i remember being -very- happy with all aspects. On Thu, 02 Sep 2004 09:34:04 -0400, Chris Musial [EMAIL PROTECTED] wrote: I am looking for an alternative way to use the functionality of the cfpop tag.The coldfusion defined function doesnt have the capabilities or the power to handle most of the actions needed for my web based email system.I have used the cfx_iipop3 and i have used the demo version up to this point...and it works fine.But on several attempts to purchase the professional version of the tag, i have had nothing but bad experiences.The company i was trying to buy it from seems shady and i am looking for another alternative.Any ideas? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfpop alternatives
try cfx_pop3.I don't think you'll be disappointed. I strongly second this. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) 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
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 100 message limit
I am still using v4.0 so... Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [EMAIL PROTECTED] 07/09/04 06:58pm The mail server is probably limiting the mail to batches of 100.Also - if you want to keep things in synch you should use UID as this is guarnateed to be unique. HTH, - Original Message - From: Graham Lewis To: CF-Talk Sent: Friday, July 09, 2004 1:46 PM Subject: CFPOP 100 message limit I see that when I CFPOP my mail server, I always get the last 100 messages.Not sure if this is set by the server or is something I can set via Cold Fusion.Either way though there is a problem that if I refer to messages via MESSAGENUMBER, this can change between grabbing them and deleting them or indeed grabbing them again as individual messages. I am missing something right? :) Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP 100 message limit
Yes its doing that.The problem is that 100 most recent setting.The last 100 changes as new mesages come in.Yes I know - UID and I guess I am stuffed without that. Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [EMAIL PROTECTED] 07/09/04 07:03pm This has to be something set by the mail server as CFPOP usually gets the first chronological message first. - Original Message - From: Graham Lewis [EMAIL PROTECTED] Date: Fri, 09 Jul 2004 18:46:20 +0100 Subject: CFPOP 100 message limit To: CF-Talk [EMAIL PROTECTED] I see that when I CFPOP my mail server, I always get the last 100 messages.Not sure if this is set by the server or is something I can set via Cold Fusion.Either way though there is a problem that if I refer to messages via MESSAGENUMBER, this can change between grabbing them and deleting them or indeed grabbing them again as individual messages. I am missing something right? :) Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP 100 message limit
You could use CFX_POP3 which would give you UID functionality if your server supports it! http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP 100 message limit
Thanks.I will see if I can find out if it runs with v4.0. Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [EMAIL PROTECTED] 07/10/04 09:45am You could use CFX_POP3 which would give you UID functionality if your server supports it! http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP 100 message limit
Thanks.I will see if I can find out if it runs with v4.0. It should do, its a long time since I tested it with a 4.0 installation as I haven't run it in a while but the interface to CF hasn't changed from 3.1 onwards very much... just a couple of deprecated function calls which I have never needed to use anyway. I can arrange a trial copy if you want. Plus if if does work you'll be doing your bit for local businesses as I only live a few miles down the road Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP 100 message limit
Paul, Yesa trial copy would be good.I am just fiddling with an idea but if this solves it I can justify the momentous sum of £7.50!! Thanks Graham Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [EMAIL PROTECTED] 07/10/04 01:22pm Thanks.I will see if I can find out if it runs with v4.0. It should do, its a long time since I tested it with a 4.0 installation as I haven't run it in a while but the interface to CF hasn't changed from 3.1 onwards very much... just a couple of deprecated function calls which I have never needed to use anyway. I can arrange a trial copy if you want. Plus if if does work you'll be doing your bit for local businesses as I only live a few miles down the road Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP 100 message limit
The mail server is probably limiting the mail to batches of 100.Also - if you want to keep things in synch you should use UID as this is guarnateed to be unique. HTH, - Original Message - From: Graham Lewis To: CF-Talk Sent: Friday, July 09, 2004 1:46 PM Subject: CFPOP 100 message limit I see that when I CFPOP my mail server, I always get the last 100 messages.Not sure if this is set by the server or is something I can set via Cold Fusion.Either way though there is a problem that if I refer to messages via MESSAGENUMBER, this can change between grabbing them and deleting them or indeed grabbing them again as individual messages. I am missing something right? :) Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP 100 message limit
This has to be something set by the mail server as CFPOP usually gets the first chronological message first. - Original Message - From: Graham Lewis [EMAIL PROTECTED] Date: Fri, 09 Jul 2004 18:46:20 +0100 Subject: CFPOP 100 message limit To: CF-Talk [EMAIL PROTECTED] I see that when I CFPOP my mail server, I always get the last 100 messages.Not sure if this is set by the server or is something I can set via Cold Fusion.Either way though there is a problem that if I refer to messages via MESSAGENUMBER, this can change between grabbing them and deleting them or indeed grabbing them again as individual messages. I am missing something right? :) Graham Lewis Centre for Academic Practice University of Warwick University House Kirby Corner Road Coventry CV4 8UW UK Tel.: (+44) (0) 24 765 72737 Mobile: 07733450022 Fax.: (+44) (0) 24 765 727326 http://www2.warwick.ac.uk/services/cap/about/staff/lewis/ http://innovations.warwick.ac.uk/innovations/ http://cap.warwick.ac.uk/tdf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP streamlining
James you could well be right, it may actually be quicker to download and then ignore the additional emails as opposed to constantly opening/closing connections to the mail server - I would test both options and see which one performs better. Kola -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 11:06 To: CF-Talk Subject: CFPOP streamlining I have a template that retrieves mail and processes it to extract order information using cfpop.At any one time it can be retrieving up to 300 emails of which around 200 will be orders, the rest will be a mixture of junk and correspondence aimed at the human who reads the account. I am currently doing a cfpop to retrieve the headers only, then looping over these doing another cfpop for each to get the message body resulting in 200+ pop connections in total. Would it be better to just do one connection, retrieve everything, and simply ignore to 100 message bodies I am not interested in? -- James Smith [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004 _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP streamlining
Thanks, that is what I am in the process of doing now, I was more wondering if there were any protocol issues here where one method would be considered more propper than the other. _ From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 11:32 To: CF-Talk Subject: RE: CFPOP streamlining James you could well be right, it may actually be quicker to download and then ignore the additional emails as opposed to constantly opening/closing connections to the mail server - I would test both options and see which one performs better. Kola -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 11:06 To: CF-Talk Subject: CFPOP streamlining I have a template that retrieves mail and processes it to extract order information using cfpop.At any one time it can be retrieving up to 300 emails of which around 200 will be orders, the rest will be a mixture of junk and correspondence aimed at the human who reads the account. I am currently doing a cfpop to retrieve the headers only, then looping over these doing another cfpop for each to get the message body resulting in 200+ pop connections in total. Would it be better to just do one connection, retrieve everything, and simply ignore to 100 message bodies I am not interested in? -- James Smith [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004 _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP streamlining
I'm not sure which version of CF you are using but on CF4.x/5 the getheaderonly action actually retrieved the entire mail although it didn't present it all in the query so for what you are doing, a single pass is probably preferable under the circumstances outlined above... I haven't really played with CFPOP on CFMX that much to know it's nuances so this information may or may not be correct when using CFMX Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP streamlining
James I just had a look at the livedocs for CFMX http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b14.htm#wp11 01854 (assuming you are on cfmx) and message number can actually be a comma separated list of all the messages you would like to retrieve, this should save you having to call cfpop for each email and allow you to re-use the connect. Not sure if the getHeaderOnly action correctly only gets the header but you can look at the commands being sent to the mail server in the mail logs which should give you some indication of whatPOP commands are being sent to the mail server HTH KOla -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 11:37 To: CF-Talk Subject: RE: CFPOP streamlining Thanks, that is what I am in the process of doing now, I was more wondering if there were any protocol issues here where one method would be considered more propper than the other. _ From: Kola Oyedeji [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 11:32 To: CF-Talk Subject: RE: CFPOP streamlining James you could well be right, it may actually be quicker to download and then ignore the additional emails as opposed to constantly opening/closing connections to the mail server - I would test both options and see which one performs better. Kola -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 21 June 2004 11:06 To: CF-Talk Subject: CFPOP streamlining I have a template that retrieves mail and processes it to extract order information using cfpop.At any one time it can be retrieving up to 300 emails of which around 200 will be orders, the rest will be a mixture of junk and correspondence aimed at the human who reads the account. I am currently doing a cfpop to retrieve the headers only, then looping over these doing another cfpop for each to get the message body resulting in 200+ pop connections in total. Would it be better to just do one connection, retrieve everything, and simply ignore to 100 message bodies I am not interested in? -- James Smith [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004 _ _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP streamlining
In this case I am using MX, but that in useful information to be filed in the for future reference folder, cheers. I'm not sure which version of CF you are using but on CF4.x/5 the getheaderonly action actually retrieved the entire mail although it didn't present it all in the query so for what you are doing, a single pass is probably preferable under the circumstances outlined above... I haven't really played with CFPOP on CFMX that much to know it's nuances so this information may or may not be correct when using CFMX [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP streamlining
One thing that I came upon when using CFPOP and deciding which method to use, is that if you are using CFMX there is a nasty bug that deals with encoding. Check out http://www.mail-archive.com/[EMAIL PROTECTED]/msg149313.html for some information. I know Raymond Camden also wrote about this bug on his blog. See it here: http://www.camdenfamily.com/morpheus/blog/index.cfm?mode=entryentry=437EFED9-B15B-8957-860C45AFE6E30A4D . Basically, if an email comes in with he unsupported encoding type, anytime you try to do a GETALL with CFPOP, it will break. The only way to recover is to delete the offending email some other way. Due to this bug, all of our CFPOP apps now describe your method of retrieving the headers, and then downloading each piece of email one at a time. Cedric Villat http://www.cornfeed.com Creators of CFTicket - A customer support, trouble ticket application Subject: CFPOP streamlining From: James Smith [EMAIL PROTECTED] Date: Mon, 21 Jun 2004 11:06:12 +0100 Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=33372forumid=4#167433 I have a template that retrieves mail and processes it to extract order information using cfpop.At any one time it can be retrieving up to 300 emails of which around 200 will be orders, the rest will be a mixture of junk and correspondence aimed at the human who reads the account. I am currently doing a cfpop to retrieve the headers only, then looping over these doing another cfpop for each to get the message body resulting in 200+ pop connections in total. Would it be better to just do one connection, retrieve everything, and simply ignore to 100 message bodies I am not interested in? -- James Smith [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 15/06/2004 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: CFPOP streamlining
You could always use CFX_POP3 to fix the utf-7 issue... http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFPOP empty message body
Long ago in a galaxy far far away. I seem to recall one of my early web mail apps had NULLs for body fields when the mail was sent via Outlook. Now this was back around 98/99 so who knows if this would still hold truebut it was all about Outlook being non-standard HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Matthew Fusfield To: CF-Talk Sent: Wednesday, April 07, 2004 12:35 PM Subject: CFPOP empty message body I have an application that collects emails sent to a POP3 mailbox and is designed to grab the HTML version of the message if available, and if not, get the text version. This generally works OK but every now and then, CFPOP returns a structure where the body, textbody, and htmlbody fields are all null. If I check the same mailbox with a mail client, I can see the message fine. Any ideas? Running CFMX 6.1 and iMail is the mail server. Thanks, Matt Matthew I. Fusfield Director of Data Products InterActive Network Systems, Inc. http://www.ins-business.com/es http://www.ins-business.com/es (856) 401-9000 Ext: 1015 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFPOP empty message body
At 01:35 PM 4/7/2004, Matthew wrote: I have an application that collects emails sent to a POP3 mailbox and is designed to grab the HTML version of the message if available, and if not, get the text version. This generally works OK but every now and then, CFPOP returns a structure where the body, textbody, and htmlbody fields are all null. If I check the same mailbox with a mail client, I can see the message fine. Any ideas? Running CFMX 6.1 and iMail is the mail server. I've had issues with CFPOP in the past. I'd recommend hitting the Dev Exchange and grabbing the CFX_POP3 tag. It's more reliable and faster, IMHO. --Scott [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFPOP error checking
There is no facility within the POP protocol to determine the unread messages in a mailbox. You have to physically keep a list of the message-ids or better still if your server supports them the UIDs that are stored against the mail and compare them against the message-ID or UIDs in the headers of the mails on the server. Any that you dont recognise are unread. As for your error with CFPOP not deleting mail yes you should be able to use a cftry..cfcatch arrangement however, make sure you are attempting to delete by UID as once you disconnect from your mail server the message IDs will be re-sorted after any mails that have been successfully marked for deletion are deleted. If you were to attempt to delete mails using the same list again in the try catch block and you were deleteing by messagenumber you would inevitably end up with errors deleting incorrect mails and possibly also attemtipng to delete mails that no longer exist at the back of the queue essentially going out of bounds. Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFPOP and bounced mail
I too have had this problem with cfpop as a result I have been forced to return to cfx_pop3.Perhaps Macromedia should learn something from the developer of this tag perhaps hire him to reform their current tag. I have one main question though.Why is there no feature in either the cfpop or cfx_pop3 to just get a recordcount.Lets say I don't want to download all the messages or the headers, I just want to know how many there are.POP is so slow that to provide a basic e-mail client over the web I have to show the user some form of interactivity but I cannot even show them how many e-mails they have to download for a full 5 minutes.Now this is a little abnormal as I am retrieving thousands of e-mails at a time but still all I want is a recordcount. Tyler Clendenin GSL Solutions [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFPOP and bounced mail
There is in CFX_POP3 just set action to 'STAT' to give you the number of messages If you don't have the version that does it, its at http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFPOP and bounced mail
Oh wow thank you very much. This will be a big help. Tyler Clendenin GSL Solutions _ From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 11:34 AM To: CF-Talk Subject: RE: CFPOP and bounced mail There is in CFX_POP3 just set action to 'STAT' to give you the number of messages If you don't have the version that does it, its at http://www.web-architect.co.uk/downloads.cfm Paul _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFPOP and bounced mail
Does the cfx_pop3 tag work on linux? John Burns -Original Message- From: Paul Vernon [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 11:34 AM To: CF-Talk Subject: RE: CFPOP and bounced mail There is in CFX_POP3 just set action to 'STAT' to give you the number of messages If you don't have the version that does it, its at http://www.web-architect.co.uk/downloads.cfm Paul [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]