× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<Vendor>
From this link:
https://fieldexit.com/forum/display?threadid=425

Sending to Gmail with MAILTOOL is as easy as this:
MAILTOOL TOADDR(MauriceMoss@xxxxxxxxxxxxx) FROMADDR(bvstone@xxxxxxxxxxxx)
SUBJECT('Info for Weekend')
MESSAGE('Hi, are you and Roy making it this weekend?')
SENDWITH(*MAILTOOL)
MAILRTR(SMTP.GMAIL.COM) USERTR(*ONLY) SSL(*TLS) PORT(587)
AUTHUSER(bvstone@xxxxxxxxxxxx) AUTHPW(<password>) DEBUG(*YES)

If you set up a config file, it's even cleaner (and easier to change items
like passwords, etc without having to change parameters in your command)
MAILTOOL TOADDR(MauriceMoss@xxxxxxxxxxxxx)
SUBJECT('Info for Weekend')
MESSAGE('Hi, are you and Roy making it this weekend?')
CONFIG('/bvstools/bvstools_test2.json')

There are many other options such as using a predefined IFS stream file as
the body, attachments, etc... but this is how easy it is to use MAILTOOL
with GMail (and Office 365) as well as ILE interfaces for all of it so you
don't have to use QCmdExc.

And, when they start to require OAuth 2.0, it's an easy transition. See
the article posted for more info on that.
</vendor>


On Mon, Oct 17, 2022 at 5:08 PM James H. H. Lampert via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

On 10/17/22 4:41 AM, Rob Berendt wrote:
James,
Do all of your devices connect to gmail directly or do some of them
relay through another server?

Everything we have that goes through GMail goes directly to it. Nothing
in between but routers, firewalls, modems, &c.

Our V6 box bypasses GMail entirely, and goes straight to the recipient.

This morning, I put the MMAIL from our V6 box onto the cloud box, for
more convenient testing.

I've been informed that whatever grandfather clause we were under for
GMail has expired, and we are paying users of Google Workspace.
Accordingly, I've followed the instructions given at

<
https://www.ibm.com/support/pages/configuration-ibm-i-smtp-client-relay-email-office365-and-gmail


including setting up a Google Relay, in an attempt to bring up
mail-sending capability on the new cloud box. So far, no joy.

I've run out of ideas. I'm running out of ideas in other areas, too, and
it's depressing.

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.