Re: CFPOP and html stripping

2002-02-27 Thread Tyler Silcox

You can grab the HTML part of the multi-part message from your attachments
directory that you specify with the AttachmentsPath attribute of cfpop.  CF
saves your HTML part of the message with a unique filename, without a file
extension.  So you'll have to parse out the real attachments first, and then
what you're left with should be your html message. Loads of fun!

Tyler
email | [EMAIL PROTECTED]

- Original Message -
From: Pete Freitag [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 8:43 PM
Subject: RE: CFPOP and html stripping


If the message is a multi-part message (contains both HTML and Plain Text)
then CFPOP will show just the plain text part.  Most email clients will send
what you may think are just HTML messages in multi-part format (Outlook,
etc) because if a user is using a mail client that does not support HTML but
is multipart aware (like Pine for instance) it will only show the user the
plain text part.

If you see something like this in a message header Content-Type:
multipart/alternative; then you are dealing with multi-part messages

As far as I know there is no way to get the html part of the message with
CFPOP.



+
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer Resources
http://www.cfdev.com/


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:36 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


No I mean CFPOP - he wants to retrieve the body of a message, store it, then
use it in a mass  mail application.  The body he retrieves has the html
stripped out of it.  Perhaps it's the senders client eh?

Mk

-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:17 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


Do you mean CFMAIL?  CFPOP just retrieves and deletes message from a
server.  If he's forwarding an email he must be using CFMAIL.

If he doesn't put CFMAIL type=HTML 
Then it will default to sending plain text.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:07 PM
To: CF-Talk
Subject: CFPOP and html stripping


Folks,

Can anyone verify that CFPOP on 4.5 strips out all html tags in the body
of
a message? I have a friend who's trying to let an editor email a mass
mail
message to his CF server - which then forwards it to the appropriate
groups.
But the email message is supposed to be html, and it appears that CFPOP
gets
rid of all the HTML.

Mark




__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFPOP and html stripping

2002-02-27 Thread Mark A. Kruger - CFG

Tyler,

hehe - ok then, on to the great adventure w.

-Original Message-
From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 6:33 AM
To: CF-Talk
Subject: Re: CFPOP and html stripping


You can grab the HTML part of the multi-part message from your attachments
directory that you specify with the AttachmentsPath attribute of cfpop.  CF
saves your HTML part of the message with a unique filename, without a file
extension.  So you'll have to parse out the real attachments first, and then
what you're left with should be your html message. Loads of fun!

Tyler
email | [EMAIL PROTECTED]

- Original Message -
From: Pete Freitag [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, February 26, 2002 8:43 PM
Subject: RE: CFPOP and html stripping


If the message is a multi-part message (contains both HTML and Plain Text)
then CFPOP will show just the plain text part.  Most email clients will send
what you may think are just HTML messages in multi-part format (Outlook,
etc) because if a user is using a mail client that does not support HTML but
is multipart aware (like Pine for instance) it will only show the user the
plain text part.

If you see something like this in a message header Content-Type:
multipart/alternative; then you are dealing with multi-part messages

As far as I know there is no way to get the html part of the message with
CFPOP.



+
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer Resources
http://www.cfdev.com/


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:36 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


No I mean CFPOP - he wants to retrieve the body of a message, store it, then
use it in a mass  mail application.  The body he retrieves has the html
stripped out of it.  Perhaps it's the senders client eh?

Mk

-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:17 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


Do you mean CFMAIL?  CFPOP just retrieves and deletes message from a
server.  If he's forwarding an email he must be using CFMAIL.

If he doesn't put CFMAIL type=HTML 
Then it will default to sending plain text.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:07 PM
To: CF-Talk
Subject: CFPOP and html stripping


Folks,

Can anyone verify that CFPOP on 4.5 strips out all html tags in the body
of
a message? I have a friend who's trying to let an editor email a mass
mail
message to his CF server - which then forwards it to the appropriate
groups.
But the email message is supposed to be html, and it appears that CFPOP
gets
rid of all the HTML.

Mark





__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFPOP and html stripping

2002-02-26 Thread Steve Oliver

Do you mean CFMAIL?  CFPOP just retrieves and deletes message from a
server.  If he's forwarding an email he must be using CFMAIL.

If he doesn't put CFMAIL type=HTML 
Then it will default to sending plain text.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 25, 2002 3:07 PM
To: CF-Talk
Subject: CFPOP and html stripping


Folks,

Can anyone verify that CFPOP on 4.5 strips out all html tags in the body
of
a message? I have a friend who's trying to let an editor email a mass
mail
message to his CF server - which then forwards it to the appropriate
groups.
But the email message is supposed to be html, and it appears that CFPOP
gets
rid of all the HTML.

Mark

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFPOP and html stripping

2002-02-26 Thread Mark A. Kruger - CFG

No I mean CFPOP - he wants to retrieve the body of a message, store it, then
use it in a mass  mail application.  The body he retrieves has the html
stripped out of it.  Perhaps it's the senders client eh?

Mk

-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:17 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


Do you mean CFMAIL?  CFPOP just retrieves and deletes message from a
server.  If he's forwarding an email he must be using CFMAIL.

If he doesn't put CFMAIL type=HTML 
Then it will default to sending plain text.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:07 PM
To: CF-Talk
Subject: CFPOP and html stripping


Folks,

Can anyone verify that CFPOP on 4.5 strips out all html tags in the body
of
a message? I have a friend who's trying to let an editor email a mass
mail
message to his CF server - which then forwards it to the appropriate
groups.
But the email message is supposed to be html, and it appears that CFPOP
gets
rid of all the HTML.

Mark


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFPOP and html stripping

2002-02-26 Thread Pete Freitag

If the message is a multi-part message (contains both HTML and Plain Text)
then CFPOP will show just the plain text part.  Most email clients will send
what you may think are just HTML messages in multi-part format (Outlook,
etc) because if a user is using a mail client that does not support HTML but
is multipart aware (like Pine for instance) it will only show the user the
plain text part.

If you see something like this in a message header Content-Type:
multipart/alternative; then you are dealing with multi-part messages

As far as I know there is no way to get the html part of the message with
CFPOP.



+
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer Resources
http://www.cfdev.com/


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:36 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


No I mean CFPOP - he wants to retrieve the body of a message, store it, then
use it in a mass  mail application.  The body he retrieves has the html
stripped out of it.  Perhaps it's the senders client eh?

Mk

-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:17 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


Do you mean CFMAIL?  CFPOP just retrieves and deletes message from a
server.  If he's forwarding an email he must be using CFMAIL.

If he doesn't put CFMAIL type=HTML 
Then it will default to sending plain text.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:07 PM
To: CF-Talk
Subject: CFPOP and html stripping


Folks,

Can anyone verify that CFPOP on 4.5 strips out all html tags in the body
of
a message? I have a friend who's trying to let an editor email a mass
mail
message to his CF server - which then forwards it to the appropriate
groups.
But the email message is supposed to be html, and it appears that CFPOP
gets
rid of all the HTML.

Mark



__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFPOP and html stripping

2002-02-26 Thread Mark A. Kruger - CFG

Pete,

Thanks - I think that is the explination I was looking for.

Mark

-Original Message-
From: Pete Freitag [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 5:44 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


If the message is a multi-part message (contains both HTML and Plain Text)
then CFPOP will show just the plain text part.  Most email clients will send
what you may think are just HTML messages in multi-part format (Outlook,
etc) because if a user is using a mail client that does not support HTML but
is multipart aware (like Pine for instance) it will only show the user the
plain text part.

If you see something like this in a message header Content-Type:
multipart/alternative; then you are dealing with multi-part messages

As far as I know there is no way to get the html part of the message with
CFPOP.



+
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer Resources
http://www.cfdev.com/


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:36 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


No I mean CFPOP - he wants to retrieve the body of a message, store it, then
use it in a mass  mail application.  The body he retrieves has the html
stripped out of it.  Perhaps it's the senders client eh?

Mk

-Original Message-
From: Steve Oliver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 3:17 PM
To: CF-Talk
Subject: RE: CFPOP and html stripping


Do you mean CFMAIL?  CFPOP just retrieves and deletes message from a
server.  If he's forwarding an email he must be using CFMAIL.

If he doesn't put CFMAIL type=HTML 
Then it will default to sending plain text.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:07 PM
To: CF-Talk
Subject: CFPOP and html stripping


Folks,

Can anyone verify that CFPOP on 4.5 strips out all html tags in the body
of
a message? I have a friend who's trying to let an editor email a mass
mail
message to his CF server - which then forwards it to the appropriate
groups.
But the email message is supposed to be html, and it appears that CFPOP
gets
rid of all the HTML.

Mark




__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists