Ask the Expert

Trouble with the SNDDST command to e-mail reports to clients

Our As/400 is on a LAN with 3 NT servers. One of the servers is running Exchange Server 5.5. I'm trying to use the SNDDST command to e-mail reports to clients. It appears to work okay, but no one is receiving the email. I think the problem is that the AS/400 doesn't know the IP address of the gateway on the NT box. How do I set up the gateway address on the AS/400?

Enter the CHGSMTPA command at the AS/400 command line.

Note: You must have *IOSYSCFG special authority to use this command.

Press F4 (prompt) to display attributes.

Page down to the Mail router attribute.

Enter the host name of your exchange server.

Press enter.

Instruct the system to forward outgoing email through the mail router. Enter the following command at the AS/400 command line:


Stop and restart SMTP (endtcpsvr *smtp' strtcpsvr *smtp).

This was first published in April 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: