|
James, I'm confused about what you may be checking to see if the clients SMTP server is being used. You mention WRKTCPSTS, assuming you're looking at option 3 "Work with TCP/IP Connection Status" and looking at the line that says "smtp" under local port then I would not expect any activity for outgoing mail. What you're seeing there is the listener waiting for incoming mail. The outgoing mail would go out through some random port. In any event, your initial questions matches my understanding. The QtmmSendMail API talks to the SMTP and QMSF systems on the iSeries. They need to running. QtmmSendMail doesn't connect directly to a receiving SMTP server. Think of QtmmSendMail like Outlook express, when you click send, it passes the mail to the configured outgoing SMTP server. In this case, the configured server is the one built into OS/400. HTH, Charles -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James H H Lampert Sent: Monday, October 10, 2005 2:02 PM To: Midrange Systems Technical Discussion Subject: Re: QtmmSendMail API question rob@xxxxxxxxx wrote: > Depends on your definition of 'talk to a mail server'. > As far as I know it uses the native SMTP and QMSF system. > However it does send email out, via these, to any domain in the world, > when properly configured. Something that's got us a bit confused: One of our customers has the SMTP server up on their 400 (not currently the case for any of our 400s), and has a front-end command-processing program to allow them to send email from the command line, using QtmmSendMail. When they do this, the email goes out, but a WRKTCPSTS shows no activity on their SMTP server. When the API accesses the SMTP server, does it bypass TCP entirely? Does the SMTP server even have to be running? "We're awake, but we're very, very puzzled." -- Blazing Saddles -- JHHL -- 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.
As an Amazon Associate we earn from qualifying purchases.
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.