a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 aml.library
  --rexxhost--
  AddArticlePartA
  AddCustomField
  AddFolderArticle
  CreateAddressEntryA
  CreateArticleA
  CreateArticlePartA
  CreateDecoderA
  CreateFolderA
  CreateServerA
  Decode
  DisposeAddressEntry
  DisposeArticle
  DisposeArticlePart
  DisposeDecoder
  DisposeFolder
  DisposeServer
  Encode
  ExpungeFolder
  FindAddressEntryA
  GetAddressEntryAttrsA
  GetArticleAttrsA
  GetArticlePartDataA
  GetCustomFieldData
  GetDecoderAttrsA
  GetFolderAttrsA
  GetServerArticles
  GetServerAttrsA
  GetServerHeaders
  HuntAddressEntryA
  OpenAddressEntry
  OpenArticle
  OpenFolderA
  ReadFolderSpool
  RemAddressEntry
  RemCustomField
  RemFolder
  RemFolderArticle
  SaveAddressEntry
  SaveFolder
  ScanFolderIndex
  SendArticle
  SetAddressEntryAttrsA
  SetArticleAttrsA
  SetArticlePartDataA
  SetDecoderAttrsA
  SetFolderAttrsA
  SetServerAttrsA
  WriteFolderSpool
Include
GuruMeditation
Docs » Autodocs » aml.library » OpenArticle

NAME

	OpenArticle -- Opens an existing article from disk or a server

SYNOPSIS

	article = OpenArticle(server, folder, msgid, flags)
D0 A0 A1 A2 A3
APTR OpenArticle(APTR server, APTR folder, ULONG msgid,
ULONG flags)

FUNCTION

	Opens an existing article from disk or a server, depending
on the type of server passed in. Currently, the only server
type supported is POP3. This function only retrieves header
information for the article in question, as well as a breakdown
of the parts of the article. To get actual data for each part,
consult the appropriate article part function.

INPUTS

	server - Pointer to a server object from which to retrieve
the article
folder - Pointer to a folder object which contains the article
msgid - The numeric ID of the message on the server
flags - Flags to control how the message is retrieve. Should be
set to 0 for now.

RESULT

	article - Pointer to an article object

SEE ALSO

DisposeArticle(), GetArticlePart, GetArticlePartData

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Paradox

ATX
PHA
PDX
SPB

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se