Page History
...
The SRP Mail Utility Install should have installed an Insert record called SRPMAIL_INSERTS. The contents of the insert are provided below in the event that the SRPMAIL_INSERT did not install or was lost:
Code Block |
---|
CompileCompile insert SRPMAIL_INSERTS DeclareDeclare function SRPSendMail, SRP_Send_Mail //----------------------------------- // Configuration // fields 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 Equ SMTPUseSSL$ to 8 // 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 |