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 » AddFolderArticle

NAME

	AddFolderArticle -- Adds an article to a folder

SYNOPSIS

	success = AddFolderArticle(folder, type, data)
D0 A0 D0 A1
BOOL AddFolderArticle(APTR folder, ULONG type, APTR data);

FUNCTION

	This function attempts to add the the specified article
to the folder.
The type parameter specifies how the article data will
be interpreted. The following values are valid:
ARTICLE_TYPE_FILE - data is a filename of
an RFC822/MIME formatted message.
ARTICLE_TYPE_ARTICLE - data is a pointer to
an allocated article object.
ARTICLE_TYPE_BUFFER - data is a pointer to a
buffer, which contains an RFC822/MIME
style message.

INPUTS

	folder - Pointer to a folder object
type - One of the types listed above
data - Pointer to the article data

RESULT

	success - 1 if successful, 0 otherwise

SEE ALSO

RemFolderArticle()

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:

Future Crew

SNT
HZ
FC
RSI

Comments:

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