Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><Code> Const</p> <pre><code> cdoSendUsingMethod = 'http://schemas.microsoft.com/cdo/configuration/sendusing'; cdoSMTPServer = 'http://schemas.microsoft.com/cdo/configuration/smtpserver'; cdoSMTPServerPort = 'http://schemas.microsoft.com/cdo/configuration/smtpserverport'; cdoSendServerPort = '25'; cdoSendUsingPort = 2; cdoSMTPConnectionTimeout = 'http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout'; cdoSMTPAuthenticate = 'http://schemas.microsoft.com/cdo/configuration/smtpauthenticate'; cdoAnonymous = '0'; cdoBasic = '1'; cdoSMTPUseSSL = 'http://schemas.microsoft.com/cdo/configuration/smtpusessl'; cdoSendUserName = 'http://schemas.microsoft.com/cdo/configuration/sendusername'; cdoSendPassword = 'http://schemas.microsoft.com/cdo/configuration/sendpassword'; cdoURLGetLatestVersion = 'http://schemas.microsoft.com/cdo/configuration/urlgetlatestversion'; </code></pre> <p>...</p> <pre><code>function SensCDOMail (ASubject, AFrom, ATo, ABody, ASmtpServer : WideString): String; var cdoMessage:OleVariant; cdoConfiguration: OleVariant; begin //Configuration Object cdoMessage:= CreateOleObject('CDO.Message'); cdoConfiguration:= CreateOleObject('CDO.Configuration'); try cdoConfiguration.Fields(cdoSendUsingMethod):= cdoSendUsingPort; cdoConfiguration.Fields(cdoSMTPServer):= ASmtpServer; cdoConfiguration.Fields(cdoSMTPServerPort):= cdoSendServerPort; cdoConfiguration.Fields(cdoSMTPAuthenticate):= cdoAnonymous; cdoConfiguration.Fields(cdoSMTPUseSSL ):= True; // use SSL cdoConfiguration.Fields.Update; cdoMessage.Configuration:= cdoConfiguration; cdoMessage.To := ATo; cdoMessage.From := AFrom; cdoMessage.Subject := ASubject; //cdoMessage.HTMLBody := ABody; //Want to send in Html format cdoMessage.TextBody := ABody; //Want to send in text format cdoMessage.Send; finally VarClear(cdoMessage); VarClear(cdoConfiguration); end; end; </code></pre> <p></code></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload