Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
Author | Forum: PowerTCP Mail for ActiveX Topic: pop3 text |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted December 18, 2003 5:39 PM I get the message. It's simple text, no parts. a display looks like this. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6487.1"> <TITLE>test</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">This is another test</FONT> </P> <P><FONT SIZE=2 FACE="Arial">Ted 84946</FONT> </P> </BODY> </HTML> Is there a method to give me the message text only without the HTML or do I have to write a parser? I'm working in powerbuilder. Thanks |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted December 19, 2003 4:15 PM Hi, Unfortunately, no, there is no method. The AddHtml method does parsing, but it requires the source Html to be in a file. And its output is a message, so you would have to find the part with the alternative text to get at the parsed data. -ken |
tatco tthibault@oppenheimerfunds.com From: Englewood, CO USA Posts: 10 Member Since: 12/18/03 |
posted December 19, 2003 4:30 PM OK, thanks for the quick response. I'll give your suggestion a try. |
Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
![]() |