Class TAttachmentManager (unit Attmgr) |
Inherits from
TComponent
Copyright (©) 1997 Tony BenBrahim
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Library General Public License as published by the Free
Software Foundation
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along
with this library; if not, write to the:
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
constructor Create(AOwner: TComponent);
- (defined in AttDef)
type TMIMEAttachment=record
Name: string[255];
MimeType: string[80];
Disposition: string[30];
Description: string[255];
Size: LongInt;
ContentID: string[40];
Location: string[255];
Stored: Boolean;
end;
procedure Copy(AttNumber: LongInt;Location: String);
procedure Delete(Number: LongInt;NewLocation: string);
function GetTempFile(AttNumber: LongInt;Extension: string): string;
function NewAttachment(var AttachRec: TMIMEAttachment): LongInt;
function Retrieve(Number: LongInt): TMimeAttachment;
procedure Update(Number: LongInt;AttachRec: TMimeAttachment);
destructor Destroy;
procedure Loaded;
function GetAttDir: string;
procedure SetAttDir(s: string);
property AttachmentDirectory : string
AttachmentCount : LongInt;
FAttDirectory : string;
r : TMimeAttachment;
TempFiles : TStrings;
constructor Create(AOwner: TComponent);
(defined in AttDef)
type TMIMEAttachment=record
Name: string[255];
MimeType: string[80];
Disposition: string[30];
Description: string[255];
Size: LongInt;
ContentID: string[40];
Location: string[255];
Stored: Boolean;
end;
procedure Copy(AttNumber: LongInt;Location: String);
procedure Delete(Number: LongInt;NewLocation: string);
function GetTempFile(AttNumber: LongInt;Extension: string): string;
function NewAttachment(var AttachRec: TMIMEAttachment): LongInt;
function Retrieve(Number: LongInt): TMimeAttachment;
procedure Update(Number: LongInt;AttachRec: TMimeAttachment);
destructor Destroy;
procedure Loaded;
function GetAttDir: string;
procedure SetAttDir(s: string);
property AttachmentDirectory : string
AttachmentCount : LongInt;
FAttDirectory : string;
r : TMimeAttachment;
TempFiles : TStrings;