ibm-midrange - 使用 SNDDST 发送邮件

标签 ibm-midrange control-language

我尝试从我的 as400 发送电子邮件,但失败! 我正在 CLLE 中使用此代码:

SNDDST     TYPE(*LMSG) TOINTNET((*NONE) +
       ('<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="412025253324323270012c20282d6f2835" rel="noreferrer noopener nofollow">[email protected]</a>') +           
       ('<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0465606076617777364469656d682a6d70" rel="noreferrer noopener nofollow">[email protected]</a>')) 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".

我刚刚尝试重新启 Action 业,但没有成功,并且始终在 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

最佳答案

有很多事情需要检查。由于您没有描述您做过的事情,因此很难建议您可以做其他事情。我可以推荐一些阅读 Material 吗?

关于ibm-midrange - 使用 SNDDST 发送邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10049362/

相关文章:

tomcat - 在 Spring 中或作为 Tomcat 资源配置 AS400JDBCXADataSource 时如何设置默认模式?

sql - iSeries - 从 CL 程序调用 SQL 存储过程

ibm-midrange - 增加 CL 中的文本字段

file-io - 如何在 CL 程序中重置文件指针?

ibm-midrange - IBM i : Binary diff between two *PGM objects

sql - 跨多个服务器查询的简单方法?

ibm-midrange - 带加密功能的 IBM CDC AS400

stored-procedures - RPGLE 程序/过程中的原型(prototype)和界面