Thomas, this is a problem we are seeing more and more.

There are a few reasons this can be happening.

The conclusion I have come to is that it's not worth trying to fix SNDSMTPEMM.

We have been writing PASE code to send emails. This works flawlessly. Meanwhile, Microsoft and Google seem to be closing in on SMTP and we'll have to learn and code new protocols in the not-to-distant future. E.g., https://techcommunity.microsoft.com/blog/exchange/exchange-online-to-retire-basic-auth-for-client-submission-smtp-auth/4114750

One intermediate tactic you can take is that if this is an Exchange server you're having problems with, find another SMTP relay and your code might work.


Jack Woehr
Independent Consulting Programmer

[icon] 303-847-8442<tel:303-847-8442>

[icon] jack.woehr@xxxxxxxxxxx<mailto:jack.woehr@xxxxxxxxxxx>

[icon] www.procern.com<https://www.procern.com>

[icon] Stay Connected!<https://www.linkedin.com/company/procern-technology-solutions/>

[photo]
Upgrade your IT state of mind!<https://procern.com/24-7-monitoring-itil-management/>

NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.


[__tpx__]

________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of tgarvey@xxxxxxxxxx <tgarvey@xxxxxxxxxx>
Sent: Thursday, June 26, 2025 09:21
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Emails never arrive

I apologize for bringing this up again.



I'm using SMTPSendMail (on OS v5) and the SNDSMTPEMM command (on OS v7) to
send emails with attachments from within a RPGLE program.

Reviewing the joblog indicates the emails are sent successfully (email
server engages and responds with expected messages). But emails never
arrive. This used to work a few years ago.
I've tried sending to several different domains, including personal,
business, and gmail accounts.

I've also tried this on servers that are not mine. No emails arrive.



Can someone point me in a direction to figure out why? Where else can I
look?


Jack Woehr
Independent Consulting Programmer

303-847-8442

jack.woehr@xxxxxxxxxxx

www.procern.com

Stay Connected!

Upgrade your IT state of mind!

 NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.

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