Click or drag to resize

CNews Class

X#
To encapsulate Internet news messages.
Inheritance Hierarchy
Object
  CMessage
    CNews

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 CLASS CNews INHERIT CMessage
Request Example View Source

The CNews type exposes the following members.

Constructors
  NameDescription
Public methodCNews
Construct a new CNews object.
Top
Properties
  NameDescription
Public propertyAttachmentCount
**Missing documentation **
(Inherited from CMessage.)
Public propertyAttachmentFileList
An array of filenames for attachments. (Used only by CNews.)
(Inherited from CMessage.)
Public propertyAttachmentList
**Missing documentation **
(Inherited from CMessage.)
Public propertyBody
**Missing documentation **
(Inherited from CMessage.)
Public propertyBodyHtml
**Missing documentation **
(Inherited from CMessage.)
Public propertyCargo
**Missing documentation **
(Inherited from CMessage.)
Public propertyContentType
A string representing the content type for that section.
(Inherited from CMessage.)
Public propertyError
A number representing the error most recently occurring.
(Inherited from CMessage.)
Public propertyErrorMsg
A string representing the details of the last error.
(Inherited from CMessage.)
Public propertyFollowUpTo
Returns a string representing the FollowUpTo field of the news message header.
Public propertyFrom (Inherited from CMessage.)
Public propertyFromAddress
A string representing the email address of the sender.
(Inherited from CMessage.)
Public propertyFromName
A string representing the name of the sender.
(Inherited from CMessage.)
Public propertyHEADER
**Missing documentation **
(Inherited from CMessage.)
Public propertyMailBody
A string representing the entire contents of the body of the email. This will include all attachments and multi-part extensions.
(Inherited from CMessage.)
Public propertyMailDate
Returns the creation date of the message.
(Inherited from CMessage.)
Public propertyMailHeader
A string representing the entire header contents for the email.
(Inherited from CMessage.)
Public propertyMailTime
Returns the creation time of the message as a string.
(Inherited from CMessage.)
Public propertyMessageID
A string representing the ID of the email.
(Inherited from CMessage.)
Public propertyNewsGroups
Returns a string representing the NewsGroups field of the news message header.
Public propertyOrganization
Returns a string representing the Organization field of the news message header.
Public propertyPath
Returns a string representing the Path field of the news message header.
Public propertyPriority
**Missing documentation **
(Inherited from CMessage.)
Public propertyReferences
**Missing documentation **
(Inherited from CMessage.)
Public propertyReplyTo
**Missing documentation **
(Inherited from CMessage.)
Public propertySender
Returns a string representing the Sender field of the news message header.
Public propertySize
Returns a string representing the size of the news message.
Public propertySubject
**Missing documentation **
(Inherited from CMessage.)
Public propertyTimeStamp
Returns the creation date and time of the message as a Time-stamp string.
(Inherited from CMessage.)
Public propertyTransferEncoding
A string representing the Transfer encoding type for the current section.
(Inherited from CMessage.)
Top
Methods
  NameDescription
Public methodBodyExtract
**Missing documentation **
(Inherited from CMessage.)
Public methodDecode
Decodes a raw message string into its parts.
(Inherited from CMessage.)
Public methodDecodeAndSaveAs
This is an abstract method called by CMessage:SaveAs() If the code type is unknown. This method can be provided by the developer to implement unsupported code types.
(Inherited from CMessage.)
Public methodFakeAttachmentList
Gets the original file names of the attachment(s).
(Inherited from CMessage.)
Public methodGetAttachInfo(Usual)
Returns information about any attachments.
Public methodGetAttachInfo(Usual, Usual)
Retrieves information about attachment(s).
(Inherited from CMessage.)
Public methodGetHeaderInfo
Extracts all the header information and stores that information into the appropriate properties.
(Overrides GetHeaderInfo.)
Public methodSaveAs
Decode and save the attachment.
(Inherited from CMessage.)
Public methodSetMailTime
Converts the current time and date into an Internet timestamp string for the current message object.
(Inherited from CMessage.)
Top
Remarks
This class is used to retrieve messages from a news group.
See Also

Reference