I am sure that this question has been asked many times before but have never seen any answers.
Since there is no UPDNAMSMTP command how can I update the System alias table programatically from CL or RPG ?
Software/Hardware used:
ASKED:
May 12, 2006 6:01 AM
UPDATED:
December 7, 2009 2:18 AM
I don’t know what addresses you are keeping in the system alias table, but we use this code to update the local users:
CHGDIRE USRID(USER S1066666) USRDFNFLD((SMTPAUSRID SMTP USEREMAILNAME) (SMTPDMN SMTP ‘COMPANY.COM’))
I don’t remember how the usrdfnfld are linked to the SMTP names, but it works. We may have gotten the information from here:
http://search400.techtarget.com/tip/1,289483,sid3_gci818531,00.html
or here:
http://search400.techtarget.com/originalContent/0,289142,sid3_gci968106,00.html
Thank you,
this fits the bill perfectly.