How about a default route? It may have DNS entries but if it can't find the way to them, it will still come up empty.

Pete


Nick W Mart wrote:
Brad,

Thank you for the response. I believe that you are correct in the DNS entries or perhaps a host table entry. After I sent the initial email, I looked at the job log of the client system as well as a similar job log on our internal system.

I found that client system does not have its system identified in the host table entries. When I selected option 12, there were DNS entries but nothing else entered on that screen.

Thanks again for the response,

Nick W Mart

----- Original Message ----- From: "Bradley V. Stone" <bvstone@xxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, July 30, 2009 4:30 PM
Subject: Re: Problem sending email from RPG program


Nick,

You didn't mention what you're using, but the problem would appear that
your DNS entries are not set up properly on your system. This is in
CFGTCP option 12. Make sure you have one or more DNS servers listed where
required.

Bradley V. Stone
BVSTools, Inc.
[1]www.BVSTools.com
[2]www.eRPGSDK.com

Nick W Mart wrote:

On one of our client machine, we are getting the following error when attempting to send an email from an RPG program.

Command failed. reason -202 Failed to lookup IP address from host name

Any assistance would be greatly appreciated.



Nick W Mart


References

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



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