|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (2 bit)
|
I'm building a client that has most of the functions in microsoft outlook express. the problem is i dont know the pop3 headers to get the subject of the mail. or do I need to extract it from the mail message body?
I'm using Mswinsock 5.0 and visual basic 5.0 |
|
|
|
|
|
#2 |
|
Member (11 bit)
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
|
I'm not too sure if this is what you want, but here goes. At the top of the message body there are headers. They are usually the following in any order:
Date: ******** To: ***** <***@***.***> From: ***** <***@***.***> Subject: ********* Message-ID: <************> Sometimes there are more or less, depending on the email program. So to get the subject just tell the program that it's whatever comes after on of the first lines that begins with "Subject: " Hope that's what you wanted, and hope it helps. RenegadeKing
__________________
"When the only tool you have is a hammer, every problem starts to look like a nail." |
|
|
|
|
|
#3 |
|
SQL nutcase
|
All the information about the structure of a mail can be found here http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc0821.html
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|