43 lines
988 B
Plaintext
43 lines
988 B
Plaintext
Compile insert SRPMAIL_INSERTS
|
|
|
|
Declare function SRPSendMail, SRP_Send_Mail
|
|
|
|
*----------------------------------------------------
|
|
* Configuration
|
|
|
|
* field
|
|
Equ SendUsing$ to 1
|
|
Equ SMTPServerPickupDir$ to 2
|
|
Equ SMTPServerPort$ to 3
|
|
Equ SMTPServer$ to 4
|
|
Equ SMTPAuthenticate$ to 5
|
|
Equ SMTPSendUsername$ to 6
|
|
Equ SMTPSendPassword$ to 7
|
|
|
|
* SendUsing values
|
|
Equ SendUsing_Pickup$ to 1
|
|
Equ SendUsing_Port$ to 2
|
|
|
|
* SMTPServerPort values
|
|
Equ SMTPServerPortDefault$ to 25
|
|
|
|
*----------------------------------------------------
|
|
* Message
|
|
|
|
* fields
|
|
Equ SRPMail_Subject$ to 1
|
|
Equ SRPMail_From$ to 2
|
|
Equ SRPMail_To$ to 3
|
|
Equ SRPMail_Cc$ to 4
|
|
Equ SRPMail_Bcc$ to 5
|
|
Equ SRPMail_ReplyTo$ to 6
|
|
Equ SRPMail_BodyType$ to 7
|
|
Equ SRPMail_Body$ to 8
|
|
Equ SRPMail_Attachments$ to 9
|
|
Equ SRPMail_Importance$ to 10
|
|
|
|
* Importance Levels
|
|
Equ SRPMail_Importance_Low$ to 0
|
|
Equ SRPMail_Importance_Normal$ to 1
|
|
Equ SRPMail_Importance_High$ to 2
|