SMTP Send to gmail in OS 10.2 on Mac OS Monterey

Mike Matthews - Omnis omnis at
Wed Jun 15 14:17:02 UTC 2022

Hello Andrew S,

When you setup the APP password, and then use it within an Omnis method, is there a 2FA call needed when you send an email?

Do you use the SMTPsend command, or are you using the OW3smtp object?



On 15 Jun 2022, at 14:20, Andrew Stolarz <stolarz at<mailto:stolarz at>> wrote:

Mike / Andrew

Google recently discontinued  (I think it was June 1st) the use of "less
secure apps" when using a gmail address. Which is what everyone was doing
to have Omnis work with gmail. If you have a paid workspace account, I
believe they are giving a bit more time. Whoever is using this legacy
method with omnis should plan to discontinue it asap.

What you need to be doing now is enabling your gmail account with 2 factor
authentication, and then setting up an APP password. Here is a quick
article on how to do that.

from within omnis, the outgoing mail server should be:

If you are using SSL/TLS, you should use port 465.
If you are using StartTLS, you should use port 587.

For the password, you must use the APP password that you created and not
your gmail account password.


On Wed, Jun 15, 2022 at 3:46 AM Mike Matthews - Omnis via omnisdev-en <
omnisdev-en at> wrote:

Hello Andrew,

1 Are you saying the value of VFSMTPSERVER is<> <>

try just using :<>

2 You also need to lower the security settings on that account in Gmail
world to allow this level of authentication.

3 Add a final parameter of 0 for Verify option for good measure.

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>,1,3ytrGtFpplaZ3mbQ605dNRCGpAVEOMIIJ_2AihvGed6ZaDRqbd-BrE2ybe6jpJRe2NqzwLTgxGJIgKEsIcKyxzCyBPIqCbpazmvubXoaCXu5vE_odk1Wpyp8ZTE,&typo=1<,1,Fako-Dh_VW5KBVjuEB5hjABM1ft_swEyuPoQypDfIuLpvRVLVG72YD5NuYdNi4QYWPk6zaYwyBfRLH47Q1rJA-CjZyUbzOaMkCUTXkFvHgbaeWrAROUOrp_JE6Q,&typo=1>,1,oSyn8e8y5m0J9XwBc_p0NPxxaYJZTxPAMVKziXlsy6uu0H6YUEGZXvv1OvZekh1S8QTHkRfXk8WxaXr-fBv-Uz67z72o2oQz9fNQvGniRw,,&typo=1<,1,hK3MTSBDsxU3bv9b2a1hX45Y0Zc5UUvOqDQniY8WmiJwFj1q41HsPKiHf-Q9Xd6N5cu54GL9Gzvm3X11IVF2nWxD7qlf0NftdmyU8Nf3wA,,&typo=1>

On 15 Jun 2022, at 06:15, Andrew McVeigh <surfway at<mailto:
surfway at>> wrote:

Trying to get this working using the isecure parameter as 2 but getting
1207 wrong authentication errors. Have tried the username with and without
the, can login into gmail through Safari with the username and
password so I know that is correct

Returns VERROR)

SMTP server is<> <> as advised in gmail documents

Anyone got this working ?

Andrew McVeigh
Surfway Real Solutions
Phone 02 44412679 Mobile 0418428016,1,qyV6GHM63jPEpccqsgRjfJVjPpsPuIUel04pZsIyT-W4-I7SRYlX-VRvh-krXA6aU5rNch5gPmsys361Y96-222M10pZ-vrtXtxEDZNRQ6Q,&typo=1,1,FHTpxsH9TvxdOoosWmUNlTMFISAQCE4c7yDMTJXXlkSB5CxHFdu744KkDmGsWP8w43LZysTE-gp6II9JJBwzovWnwOAr_iTVNagRmAgdPZ9bwqaaDgSP9Uo,&typo=1



On 15 Jun 2022, at 3:48 am, Andrew Stolarz <stolarz at> wrote:


You will need to run your commands via. Apple Script.

ie. Do $runapplescript()

here is a useful guide:

We use it for all kinds of things and has been rock solid.


On Tue, Jun 14, 2022 at 1:29 PM Terence Young <terry.young at>


Is there a way to execue a terminal command from within Omnis on MacOsX.

Does anyone have an external to this?


Terence J. Young, DC

System Administrator


(608) 280-2679

If you received this e-mail in error, please notify the sender, delete the
e-mail, and do not use, disclose or store the information it contains. This
e-mail and any attachments may contain confidential information, including
records protected by WI Mental Health 51.30 and/or AODA federal
confidentiality rules (42 CFR Part 2) - both prohibit you from making any
further disclosure of this information unless further disclosure is
expressly permitted by the written consent of the person to whom it
pertains or as otherwise permitted by 51.30 or 42 CFR Part 2. A general
authorization for the release of medical or other information is NOT
sufficient for this purpose. Federal rules restrict any use of this
information to criminally investigate or prosecute any alcohol or drug
abuse client.
Manage your list subscriptions at,1,lMe-dJGRDaZTwk8J7gfygPXhjSK_3Ufr4p3EOxqZlCNFUrqzVPFSth_uSL_zQieA6caGs3qb1wsCO7KmW1KhtHx0nPCxjVBUIVh6obM3Ajv5fsxSGUnyOVzXVA,,&typo=1
Start a new message -> mailto:omnisdev-en at

Manage your list subscriptions at,1,23P0cCy_lVJZaJSh1aL8Vxt_kZt7kV-Ph2wCXJtwbelMrBufdoyW5yWw1I9MPphnyPL0ntt28t_YtTZU6AY1AsRNtDRrhxpkgxix_NmbZIK0rS7vExA,&typo=1
Start a new message -> mailto:omnisdev-en at

Manage your list subscriptions at,1,U4U57iXd1RRBCMuIE7GJyzkV0UTbsLqQ8p2paWhpaUYFk-UqUO8eqLOCUNYE9XVRSBX-XOLIsRsM1mqolPMaA8zLFMrA4DLdw0LxwB5kag4198GPDhI,&typo=1
Start a new message -> mailto:omnisdev-en at

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

Manage your list subscriptions at,1,WpaSBYEbgumAYtV0UpAQJ-wimxgwnywE9PnzydOAEwlvgrb11F_758zHWoAutETViPOCA7wfKaq4eGyqIylRHFcH19P-sDhxSi2X5DLNbFPMi2VSrivGmNMK&typo=1
Start a new message -> mailto:omnisdev-en at

More information about the omnisdev-en mailing list