我正在尝试从我的as400发送电子邮件,但没有成功!我正在将这段代码用于 CLLE:
SNDDST TYPE(*LMSG) TOINTNET((*NONE) +
('address1@mail.it') +
('address2@mail.it')) DSTD('TEST') +
LONGMSG('test mail...')
我收到了一个错误,我用 WRKDIRE 修复了我添加用户的地方,实际上现在当我调用程序时,读入 dspjoblog:分发的发送已成功完成。但我在邮箱中没有收到任何内容
我认为SMTP配置正常,但是我收到此错误:
Tipo Tipo ----Registrata---- -----Mittente----- Num.
Opz Funzione voce Data Ora Nome lav. ID utente Indir. seq
*RTR *ERR 10/04/12 13:04:15 QMSF MARCO MT 0013
Funzione . . . . . . . . . . : Instradamento distribuzione
Lavoro . . . . . . . . . . . : 275842/QMSF/QMSF
Data/ora . . . . . . . . . . : 10/04/12 13:04:15
Mittente:
ID utente/Indirizzo . . . : MARCO MT
Nome sistema/Gruppo. . . . : S6518B7A
Numero di sequenza . . . . . : 0013
Data/ora di origine . . . . : 10/04/12 13:04:15
Agente destinazione . . . . : OfficeVision
Codice stato SNADS . . . . . : 0001 Errore instradamento
Destinatario in errore:
ID utente/Indirizzo . . . : INTERNET GATEWAY
Nome sistema/Gruppo . . . : INTERNET
Voce indirizzario sistema : Definito localmente
我发现了这个错误:
Message. . . : Failed opening file IFS (Integrated File System)
on file/MMAIL/temp/Q6.txt
Cause. . . . . : The RTCP function requires the use of a file IFS (Integrated
File System) / MMAIL/temp/Q6.txt. The error received by the call is 3025.
This file does not exist in the system is blocked or damaged and can not
be used at the time.
Correction. . . : Close MSF (Mail System Framework) "ENDMSF" and restart
"STRMSF".
我刚刚尝试重新启动作业但没有成功,并且总是在 QMSF 作业中出现此错误日志:
Message ID. . . . . : Severity CPFAF98. . . . . . . : 60
Message type. . . . : Informational
Submit Date. . . . . . : 13/04/12 Time sent. . . . . . : 12:44:02
Message. . . : The job has stopped processing 320083/QMSF/QMSF
MSF message.
Cause. . . . . : The program exit point in the library QTMSFWD QTCP
to the point of exit QIBM_QZMFMSF_MSG_FWD has detected a condition with
6518B7A0909081414210000000008 the message ID. The message indicates that
processing must be completed. The MSF message will be revised
the next command execution STRMSF (Start Mail Server Framework)
Correction. . . : Determine because the program exit point has
indicated the need to end processing of a message. in
joblog may be listed messages that have caused
incorrect program. Correct errors, and run the
ENDMSF command (closing mail server framework) to terminate
有很多事情需要检查。 由于你没有描述你做过的事情,所以很难建议你可以做的其他事情。 我可以推荐一些阅读材料吗?
- http://www.easy400.net/mmail/start
- http://publib.boulder.ibm.com/iseries/v5r2/ic2928/info/rzair/rzair.pdf
- http://mowyourlawn.com/RPGMail.html
您可以从使用 DSPDSTLOG 查看 SNADS 日志开始。
IBM 支持文档"SNADS - 基本故障诊断过程"对于查找错误源非常有帮助。希望这有帮助...
http://www-01.ibm.com/support/docview.wss?uid=nas1b56c1c34b489e7528625663d004b1797
尝试使用@Buck Calabro的链接,这里有几个其他链接。SMTP 可能未完全正确设置。
- http://www.bvstools.com/docs/mailtool/faq.html
- http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Frzair%2Frzairsmtppa.htm