| Author |
Topic Search Topic Options
|
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Topic: AspPop help needed Posted: 24 June 2005 at 10:04am |
|
hi, its been a while since i posted a message for help on here before but...
am currently trying to make a Webmail app in asp using asp pop. but its
not that helpful at determening if its html or plain text emails -
which messes things up for me when i attempt to display it
does anyone know how you work out if the emails html or plain text with
ASPpop - or suggest a better asp pop component (i know i dont have
Jmail with pop abilitys - so thats out)
|
|
|
 |
Demon
Mod Builder Group
Mod-n-Skin Moderator
Joined: 26 July 2003
Status: Offline
Points: 299
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 July 2005 at 7:59pm |
|
wouldnt an HTML email have HTML tags, where a plain text wouldn't? So would it be possible to do an InStr for a couple common HTML tags such as <b>,<font>,<p>,<div>; and that would tell if it was HTML?
|
|
So Sayith the Demon.
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 July 2005 at 9:56am |
|
i was wondering if there was an easier way, but if i dont find one i'll do that i guess
|
|
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 08 July 2005 at 12:18pm |
|
Any way to look at headers?
|
Lead me not into temptation... I know the short cut, follow me.
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 July 2005 at 7:33am |
|
yeah but i dont know how to use that
apparently you just do:
Mailer.GetHeaderField("header name")
and it returns the value, its for custom headers that AspPOP3 doesnt support
anyone know wot the header would be called?
|
|
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 09 July 2005 at 8:16am |
|
acctually i fixed that
i got it to show the 'Content-Type'
anyone know how you retreive the size of an email?
|
|
|
 |