Professional Documents
Culture Documents
Messages
CFGTCP
where:
'mymailserver@company.com' is the DNS name of your mail server; check first locally which DNS name
and TCP/IP address you'll have to use.
The local mail server DNS name and IP Address must be added to the local AS/400 TCP/IP Host table
using command CFGTCP and option 10, Work with TCP/IP host table entries. In our configuration
we've added Internet address 111.11.111.111 with Host Name 'mymailserver@company.com'.
Note: See the note at the end of these steps. It contains instructions that you can use instead of
following steps 7 and 8.
7. For each DIRE user you want to send email to, change their entry using the following command (the
following is an example for a profile on system BASEL):
CHGDIRE USRID(USERNAME BASEL) USER(USERNAME) NETUSRID('USERNAME BASEL')
USRDFNFLD((SMTPAUSRID SMTP 'firstname.lastname') (SMTPDMN SMTP 'company.com'))
MSFSRVLVL(*SYSMS) PREFADR(*SMTP)
where:
firstname.lastname is the part from your email address before the "@" character.
company.com is the part from your email address after the "@" character.
8. Use the command CHGTCPDMN to set:
10. To send emails to users that are not defined in WRKDIRE, change the Distribution Attributes once using
this command:
Up to now, you can use following command (Information type has to be set to *LMSG) to send directly to
an Internet address:
* ENDTCPSVR SERVER(*SMTP)
*STRTCPSVR SERVER(*SMTP)
Note: INSTEAD OF STEPS 7 and 8 above, you can use the System Alias table (GO CFGTCP > 20.
Configure TCP/IP Applications > 12. Configure SMTP > 1. Work with system alias table) and add an entry
there (see below):
The QUEUE column will need to have a special entry of *MAIL. The user and system name will be used as the
address to send the distribution.
Once the User List has been defined it needs to be attached to the required Auto Reply records via the “Copy
To” field.
Still have questions? We can help. Submit a case to technical support (/support/tickets/)