Currently the program has hard coded the email addresses into the
SNDDST command. The company has recently changed its name and hence its
email address so the program has stopped working.
I thought I might use an email group instead of hard coding the users
addresses into the program. The helpdesk have created an address of the
format email...@company.de. I have tested the group works by using a
hotmail account with the IE interface and the group worked fine.
When I use this email address in the SNDDST command however the email
never arrives. The AS400 DSPDSTLOG still shows a *ORG, *RTR and *ARV
entry.
It seems to me the problem must be somewhere in the email server not
the AS400 but I wondered if anyone had come across a similar problem ?
Are you using DNS or a Host Table?
Can you snddst to other accounts @company.de ?
Can you telnet to port 25 on either the mail router you have setup in
cfgtcpcmtp or the company.de mail server & try sending the normal
sequence of commands to snd a test mail. ie.
HELO as400
mail from:<user@as400>
rcpt to:<gr...@company.de>
data
some test data
.
quit
You can experimnt with from & to email addresss. I think the as400 uses
from user...@HOSTNAME.DMNNAME where username is the user issuing
SNDDST & th other 2 parts are setup by CHGTCPDMN - unless your user has
an email setup in his directory profile.
I have found this useful before to let the mail server owners know
their system was not working for various reasons, eg it wont allow the
400 to connect due to firewall or DNS issues their end (They didnt
believe the 400 existed), their antivirus software was setup to prevent
any new files being generated, they had a rule to not allow mail
routing so no mail was sent outside the company.
Hope this helps,
Jonathan