... 2. The current process security context is used to authenticate with the service. :Item( "http://schemas.microsoft.com/cdo/configuration/smtpusessl" ):Value := iif(cSslmail=="S",.T.,.F.) :Item( "http://schemas.microsoft.com/cdo/configuration/sendusername" ):Value ...
... = 1 objCDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true objCDO.Configuration.Fields.Update ' Rest of sending code goes here... Please note here that the port is not 587 but 25. ...