Class TrMapiEmail
Unit
rMapiMail
Declaration
type TrMapiEmail = class(TComponent)
Description
non visual components which provides all function for sending of email by MAPI interface, single or batch sending is supported
Hierarchy
Overview
Methods
Properties
|
property BatchMailList: TStrings read FBatchMailList; |
|
property BatchConfirmCount: byte read FBatchConfirmCount write FBatchConfirmCount default 10; |
|
property SendTo: TStrings read FSendTo write SetSendTo; |
|
property CopyTo: TStrings read FCopyTo write SetCopyTo; |
|
property BlindCopyTo: TStrings read FBlindCopyTo write SetBlindCopyTo; |
|
property Subject: string read FSubject write FSubject; |
|
property Body: TStrings read FBody write SetBody; |
|
property Attachments: TStrings read FAttachments write SetAttachments; |
|
property ShowErrorDlg: boolean read FShowErrorDlg write FShowErrorDlg default false; |
|
property MailAppDirectory: string read FMailAppDirectory write FMailAppDirectory; |
|
property RemoveRecepientsDuplicity: boolean read FRemoveRecepientsDuplicity write FRemoveRecepientsDuplicity default true; |
|
property SendAutomatically: boolean read FSendAutomatically write FSendAutomatically default false; |
|
property OutlookOptions: TOutlookOptions read FOutlookOptions write FOutlookOptions default [ooUseRunningApplication]; |
Description
Methods
|
function ExternalAppExists: boolean; |
check if external application exists
|
|
procedure ExternalAppLoadSendMail(IniFileName: string = ''; DeleteAfterSend: boolean = true); |
used by external mail application to load ini file and send emails
|
|
procedure InitMail; |
init all mail variables
|
|
function SendSimpleMail: boolean; |
send mail via mailto command (limited body lenght and without attachment)
|
|
procedure AddToBatchMail(UseOutlook: boolean = false); |
add mail to batch list
|
|
procedure InitBatchMail; |
init batch list
|
Properties
|
property BatchMailList: TStrings read FBatchMailList; |
return list of mails in batch list
|
|
property BatchConfirmCount: byte read FBatchConfirmCount write FBatchConfirmCount default 10; |
define number of sent mail when Continue confirm dialog is shown
|
|
property SendTo: TStrings read FSendTo write SetSendTo; |
define recipient addresses
|
|
property CopyTo: TStrings read FCopyTo write SetCopyTo; |
define copy recipient addresses
|
|
property BlindCopyTo: TStrings read FBlindCopyTo write SetBlindCopyTo; |
define blind copy recipient addresses
|
|
property Subject: string read FSubject write FSubject; |
define mail subject text
|
|
property Body: TStrings read FBody write SetBody; |
define mail body text
|
|
property Attachments: TStrings read FAttachments write SetAttachments; |
define list of attachments
|
|
property ShowErrorDlg: boolean read FShowErrorDlg write FShowErrorDlg default false; |
define whether error dialog is show
|
|
property MailAppDirectory: string read FMailAppDirectory write FMailAppDirectory; |
define location of SendMail.exe as external app
|
|
property RemoveRecepientsDuplicity: boolean read FRemoveRecepientsDuplicity write FRemoveRecepientsDuplicity default true; |
define automatic removal of duplicity in the email addresses
|
|
property SendAutomatically: boolean read FSendAutomatically write FSendAutomatically default false; |
define whether email is sent without any prompt (if MAPI client allows it)
|
Generated by PasDoc 0.15.0.
|