Mike Matthews - Omnis omnis at
Wed Jan 31 09:40:45 UTC 2024

Hello Andrew,

Kelly is right, as is usually the case, there are two final params you need to set, one of which is usually kFalse, but defaults to kTrue!  You have only set one of them.


SMTPSend (server,from,to,subj,body,cc,bcc,name,stsproc,pri,xtrahdrs,user,pass,secure {Default zero insecure;1 secure;2 use STARTTLS},verify {Default kTrue}]) Returns status

Keep trying different values of Secure, 0, 1 or 2, until you get success.

Make Verify = kFalse unless you understand Certificates.

Id you make use of the value in ‘stsproc’, it will provide the response from the SMTP server.  The response is a string char of the conversation, which I think goes into #S1. Make a new method with this name, and in there, the value of #S1 is set.


Mike Matthews

Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at<mailto:mike.matthews at><><>

On 31 Jan 2024, at 04:22, Kelly Burgess <kellyb at<mailto:kellyb at>> wrote:

Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.

Hi Andrew,

You don't say what version of Omnis is involved.  I'm not sure when things changed, but the current SMTPSend wants a 0,1,2 in the secure parameter following the password, with 2 meaning use TLS. and there's a verify parameter after that.,1,t2ECxR_ek6mi4qZ_-gllfqvsXMEuNcdj_eVRZc_vbCYRPsL0Bmt72A9MLpFB3-fmDWCkAfi6DRs0pxIqW-I8E0WatjfOWTPdsfUFOHxzUg,,&typo=1

Try ending your command with ..,SPSMTPPASSWORD,2,kFalse)

Manage your list subscriptions at,1,5TtqL2UwrKViWzxb5kmDG6KteHGHyEMQ-zPa_rD7Nl3SxzcEqU9RQMsQZnP8QEbxpNW24LVI1vb0xOK4cwDOT3ZYJW_OnhythLX4f3sn2Xkv1yq0SHS7FA,,&typo=1
Start a new message -> mailto:omnisdev-en at

More information about the omnisdev-en mailing list