Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-20-2001, 03:31 PM   #1
Member (2 bit)
 
Join Date: Nov 2001
Location: Arizona
Posts: 2
Send a message via ICQ to SmokinCode Send a message via AIM to SmokinCode
smokin a pop3 question

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
SmokinCode is offline   Reply With Quote
Old 11-24-2001, 09:22 PM   #2
Member (11 bit)
 
RenegadeKing's Avatar
 
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."
RenegadeKing is offline   Reply With Quote
Old 11-25-2001, 07:55 AM   #3
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
All the information about the structure of a mail can be found here http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc0821.html
mosquito is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:44 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2