IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

MessageHeadersString Property

A string representation of the full headers of the message as retrieved from the server.

Syntax

__property String MessageHeadersString = {read=FMessageHeadersString, write=FSetMessageHeadersString};

Default Value

""

Remarks

This property contains a string representation of the full headers of the message as retrieved from the server. If the component is not connected, or MessageNumber does not contain a valid message number, the value of this property is an empty string. Otherwise, it contains the full headers of the mail message as reported by the server.

The MailServer is asked about the headers of the message only if the MessageNumber property has changed. If MessageNumber has not changed, the component returns a cached value.

Example (Connect and Retrieve Message)


POPControl.MailServer = "MyPOPServer"
POPControl.User = "username"
POPControl.Password = "password"
POPControl.Connect()

POPControl.MessageNumber = 1
MessageText = POPControl.MessageText
MessageHeadersString = POPControl.MessageHeadersString

This property is read-only.

Data Type

String

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0