Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

WWIP 4.68 GetMessageHeader()

$
0
0
WWIP 4.68 GetMessageHeader()
West Wind Client Tools
WWIP 4.68 GetMessageHeader()
May. 4, 2013
10:25 pm
3RZ1C2JGMShow this entire thread in new window
Gratar Image based on email address
From:ChaimCaron
To:All
Hi Rick,
I retrieve message headers under WWIP 4.68 using oPop.GetMessageHeader, I want to get the message subject, so I look in oPop.aMessages[1].cSubject to get the subject. However, the subject is not there. In one case, the text in the cSubject property was: "Date:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;"
I found the subject in the property cFullText, between the strings <CHR(10) + CHR(13)> + "Subject: " and the next <CHR(10) + CHR(13)>. I can parse the subject from this string.

My questions are:
1. why doesn't the message subject show up in the cSubject property?
2. can I expect to find the subject in the cFullText property and can I parse it as I've described above? (Will this always work?, or is this an undocumented behavior that I can't count on?)

Thanks, Chaim


Viewing all articles
Browse latest Browse all 10393

Trending Articles