This is a small part of a program to show what I am trying to do...
H BNDDIR('QC2LE')
....
D RunClCmd PR 10i 0 ExtProc('system')
D CmdString * Value
D Options(*String)
D ExpMsgId S 7 import('_EXCP_MSGID')
*
D Command S 500
....
Command = 'SNDDST TYPE(*LMSG) TOINTNET((''' + <email>
''')) DSTD(''Test'') LONGMSG(''Test'')';
RunClCmd(Command);
This is just supposed to send an email with Test as the subject and Test as the body of the email. Now I have used this command three other times perfectly in other recent programs...but for some reason this time it is throwing an error "CPF900C - Sign on and verify of user failed".
I thought initially it might be that I didn't have a directory entry but I do and the other programs wouldn't have worked either. I get the same error whether I call or submit the program.
Anyone know anything about this error?
H BNDDIR('QC2LE')
....
D RunClCmd PR 10i 0 ExtProc('system')
D CmdString * Value
D Options(*String)
D ExpMsgId S 7 import('_EXCP_MSGID')
*
D Command S 500
....
Command = 'SNDDST TYPE(*LMSG) TOINTNET((''' + <email>
''')) DSTD(''Test'') LONGMSG(''Test'')';
RunClCmd(Command);
This is just supposed to send an email with Test as the subject and Test as the body of the email. Now I have used this command three other times perfectly in other recent programs...but for some reason this time it is throwing an error "CPF900C - Sign on and verify of user failed".
I thought initially it might be that I didn't have a directory entry but I do and the other programs wouldn't have worked either. I get the same error whether I call or submit the program.
Anyone know anything about this error?