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



From who's perspective? From the perspective of other jobs running on the same system who want to connect to the SMTP server, the hostname is always 'localhost'.

From the perspective of jobs running on other machines, there's no way to "programatically" determine the host name... that should be a configuration item. In some sort of configuration file (or database or user space, data area, environment variable -- whatever you want to use) you'll have a space where you keep track of the SMTP server to connect to. The host name would be stated there. It's not something that can be calculated.

So I'm not sure that I really understand what you're looking for.


Thomas Garvey wrote:
Can anyone tell me how to programmatically find the hostname for the SMTP
server running on my iSeries?

Thanks



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.