× 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.



Hello,

Depending on your OS Release ... Try SNDSMTPEMM

It that doesn't work try MMAIL on EASY400.net.

Mit freundlichen Grüßen / Kind regards / Bien à vous,

Seán Courtney


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jason Olson
Sent: Saturday, 15 April 2023 17:05
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Sending email from ILERPG.

I understand your question.

J

On Sat, Apr 15, 2023 at 10:02 AM Brad Stone <bvstone@xxxxxxxxx> wrote:

I don't think you understood my question.

Office 365 (and GMail and others) is/are slowly doing away with
User/PW authentication for SMTP and moving towards a "More safe"
version of authentication, mainly OAuth 2.0 which requires some setup,
a callback URL to swap a code for a token, and then refreshing that
token when necessary for each account you are using. Not to mention
using a different endpoint and not the SMTP servers and a whole
different method of sending emails (formatted JSON vs MIME. GMail
still allows the use of MIME files in their APIs, and O365 does too
but right now they are limited to 4mb or something small that isn't very useful).

Yes, they offer "app IDs" which is nothing more than a system
generated password, but they also don't recommend using that method.

On Fri, Apr 14, 2023 at 9:54 PM Jason Olson <josys36@xxxxxxxxx> wrote:

Yes. But all I really cared about was office 365 anyway.

J

On Fri, Apr 14, 2023 at 9:26 PM Brad Stone <bvstone@xxxxxxxxx> wrote:

Does it work with OAuth 2.0 for gmail and office 365?

On Fri, Apr 14, 2023 at 8:22 PM Jason Olson <josys36@xxxxxxxxx> wrote:

I just wrote a utility in Python.

J


On Fri, Apr 14, 2023 at 8:07 PM Jay Vaughn <
jeffersonvaughn@xxxxxxxxx>
wrote:

Smtp2go
Seriously.
It’s easier to call an http rest api from this 3rd party to
offload
and
send email than it is to manage smtp email in house these days.

Jay


On Mar 4, 2023, at 10:41 AM, Jon Paris
<jon.paris@xxxxxxxxxxxxxx

wrote:

We use PHPMailer for this Jason and it should work fine on
your
back-level box.

There's also Brad Stone's tools (BVSTools.com <
http://bvstools.com/
)
if your company will spring a few $s for a very well-supported
tool.
It
is
only just a little more than $1 a day and will save a lot of work.
Not
sure how far back Brad supports but I'm sure he'll let you know.


Jon P.

On Mar 3, 2023, at 5:26 PM, Jason Olson <josys36@xxxxxxxxx>
wrote:

Back in the day I used Aaron Bartell's RPGMail utility to
send
emails
from IBM i in RPG. I've ran across a situation where I need to
do
that
again, but the SMTP I need to connect to is using TLS, and I
don't
think
Aaron ever put that into his Java programs. I would use Python
to
send
the
email but the IBM i is older and cannot support newer Python.

Without using a 3rd party product is anyone sending emails
from
RPG
using a Java utility or the like?


--
Jason E. Olson
IBM i / Python Engineer/Developer


--
This is the RPG programming on IBM i (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any
subscription
related questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any
subscription
related questions.

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any
subscription
related
questions.

--
Thanks,

Jason E. Olson
IBM i Engineer/Developer
josys36@xxxxxxxxx
480.223.2952
--
This is the RPG programming on IBM i (RPG400-L) mailing list To
post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list To
post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

--
Thanks,

Jason E. Olson
IBM i Engineer/Developer
josys36@xxxxxxxxx
480.223.2952
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post
a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

--
Thanks,

Jason E. Olson
IBM i Engineer/Developer
josys36@xxxxxxxxx
480.223.2952
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.