SMTP Send to gmail in OS 10.2 on Mac OS Monterey

Mike Matthews - Omnis omnis at lineal.co.uk
Wed Jun 15 07:46:32 UTC 2022


Hello Andrew,

1 Are you saying the value of VFSMTPSERVER is smtp.gmail.com:587<http://smtp.gmail.com:587> <http://smtp.gmail.com:587/>

try just using : smtp.gmail.com:587<http://smtp.gmail.com:587>

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 lineal.co.uk<mailto:mike.matthews at lineal.co.uk>

www.lineal.co.uk<http://www.lineal.co.uk/>

www.sqlworks.co.uk<http://www.sqlworks.co/>



On 15 Jun 2022, at 06:15, Andrew McVeigh <surfway at bigpond.com<mailto:surfway at bigpond.com>> 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 @gmail.com, can login into gmail through Safari with the username and password so I know that is correct

SMTPSend (VFSMTPSERVER,EMFROM,EMTOLIST,EMSUBJECT,EMBODY,EMCC,,SPNAME,,,,SPSMTPUSER,SPSMTPPASSWORD,isecure) Returns VERROR)

SMTP server is smtp.gmail.com:587<http://smtp.gmail.com:587> <http://smtp.gmail.com:587/> as advised in gmail documents

Anyone got this working ?

Andrew McVeigh
Surfway Real Solutions
Phone 02 44412679 Mobile 0418428016
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.surfway.com.au&c=E,1,qyV6GHM63jPEpccqsgRjfJVjPpsPuIUel04pZsIyT-W4-I7SRYlX-VRvh-krXA6aU5rNch5gPmsys361Y96-222M10pZ-vrtXtxEDZNRQ6Q,&typo=1
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.berrarabeach.com.au&c=E,1,FHTpxsH9TvxdOoosWmUNlTMFISAQCE4c7yDMTJXXlkSB5CxHFdu744KkDmGsWP8w43LZysTE-gp6II9JJBwzovWnwOAr_iTVNagRmAgdPZ9bwqaaDgSP9Uo,&typo=1


<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.surfway.com.au%2f&c=E,1,j5L1LGFM37zivI27vPgRi-SjC7Go0q6nJYYilyYaDUrcghfD9_PdTt06x17yCp5WtlCcngitMt50kKKIisvG0X-kD_1EkWQsmWBH4vomXh17jmJ8lRczknzSRw,,&typo=1>
<https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.surfway.com.au%2f&c=E,1,gUPCJEkNiRwGxY77eczGnl3gzmHphzuUHK9DaBv_XTqe9ZCoqMFY0NfO8YB9LWUiWeuY8AKyLDYI_FPoDlRTtWr4Col1gyVytAPmuKWQT1s,&typo=1>
On 15 Jun 2022, at 3:48 am, Andrew Stolarz <stolarz at gmail.com> wrote:

Terry,

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

ie. Do $runapplescript()

here is a useful guide:
https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/CallCommandLineUtilities.html


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


Andrew


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

Hi,

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

Does anyone have an external to this?

terry


Terence J. Young, DC

System Administrator

IT

(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 https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,lMe-dJGRDaZTwk8J7gfygPXhjSK_3Ufr4p3EOxqZlCNFUrqzVPFSth_uSL_zQieA6caGs3qb1wsCO7KmW1KhtHx0nPCxjVBUIVh6obM3Ajv5fsxSGUnyOVzXVA,,&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

_____________________________________________________________
Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,23P0cCy_lVJZaJSh1aL8Vxt_kZt7kV-Ph2wCXJtwbelMrBufdoyW5yWw1I9MPphnyPL0ntt28t_YtTZU6AY1AsRNtDRrhxpkgxix_NmbZIK0rS7vExA,&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com

_____________________________________________________________
Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,U4U57iXd1RRBCMuIE7GJyzkV0UTbsLqQ8p2paWhpaUYFk-UqUO8eqLOCUNYE9XVRSBX-XOLIsRsM1mqolPMaA8zLFMrA4DLdw0LxwB5kag4198GPDhI,&typo=1
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com



More information about the omnisdev-en mailing list