Who wrote the code for this? Sounds like a definate bug for sure. You may
want to post some of it if possible (I apologize if I missed it in previous
threads).

If you are interested in saving a ton of headaches and trouble...
www.bvstools.com/mailtool.html.

It would have already paid for itself 10x over. :)

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of James Lampert
Sent: Thursday, March 06, 2008 3:37 PM
To: Midrange Systems Technical Discussion
Subject: More QtmmSendMail trouble


This is getting really annoying. For the customer, for our sales/support
rep, for me, and probably for a lot of people on this List.

This is the same customer as before, the one that was having trouble
getting Lotus and native SMTP to stop fighting each other. Now, messages
are getting misdirected.

(The email addresses are changed to protect the innocent)

We've got messages supposedly being sent to foo@xxxxxxxxxxx, and to
bar@xxxxxxxxxxx, and to quux@xxxxxxxxxxx (in that order). They're not
going to their intended recipients. Instead, they're all going to
foo@xxxxxxxxxxx, including the ones with TO addresses of bar@xxxxxxxxxxx
and quux@xxxxxxxxxxx).

I just double-checked the source code. The ADDT0100 structure is
implemented here as a global static RPG DS, and its address field is
getting its value from exactly the same place as the TO header. And it's
getting explicitly cleared (with an RPG CLEAR statement) before being
populated. And there's no way to get to the statement that calls
QtmmSendMail without executing the statements that populate the structure.

--
James H. H. Lampert
Touchtone Corporation

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



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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].