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

NAME

	SetArticleAttrsA -- Set article attributes
SetArticleAttrs -- Varargs stub for SetArticleAttrsA

SYNOPSIS

	value = SetArticleAttrsA(article, tags)
D0 A0 A1
ULONG SetArticleAttrsA(APTR article, struct TagItem *)
ULONG SetArticleAttrs(APTR article, ULONG, ...)

FUNCTION

	Sets attributes on an article object

INPUTS

	article - The article object to set attributes on
tags - An array of TagItems containing attributes to set

TAGS

	ARTICLEA_To, ARTICLEA_Cc, ARTICLEA_Bcc, ARTICLEA_From,
ARTICLEA_ReplyTo, ARTICLEA_Subject, ARTICLEA_ContentType,
ARTICLEA_ContentSubType, ARTICLEA_ContentEncoding,
ARTICLEA_Groups, ARTICLEA_XFace, ARTICLEA_MessageID,
ARTICLEA_Reference, ARTICLEA_SigFile (all STRPTR) - Each tag
corresponds to an appropriate message/newsarticle header
as defined by RFC 822; 2045, et. al. Note that these
tags are NOT cumulative, i.e., specifying the
ADDRESSA_To tag twice will not add the next address to
the "To" list, but replace it. Please see the
appropriate RFC for details on the proper formation
of each header's data.
ARTICLEA_CustomHeaders (STRPTR) - A set of valid article headers,
each terminated by a "\r\n" sequence.
ARTICLEA_Date (STRPTR), ARTICLEA_DateVal (LONG) - Allows you to
set the Date: header using either a previous header's
value (_Date), or a 32-bit integer value based off the epoch
(_DateVal).
ARTICLEA_Flags (LONG) - Sets appropriate flags for the
article, like unread, reply, forward, etc. status. See the
library's header file for valid values.
ARTICLEA_ReturnReceipt (BOOL) - Sets whether the appropriate
return receipt headers should be generated. (Set only.)

RESULT

	value - The number of attributes successfully set.

SEE ALSO

<libraries/aml.h>

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:

Phenomena

KEF
HZ
SNT
PHA

Comments:

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