首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >使用SNDDST发送邮件

使用SNDDST发送邮件
EN

Stack Overflow用户
提问于 2012-04-07 05:16:29
回答 3查看 4.1K关注 0票数 2

我正在尝试从我的as400发送电子邮件,但没有成功!我在CLLE中使用了以下代码:

代码语言:javascript
运行
复制
SNDDST     TYPE(*LMSG) TOINTNET((*NONE) +
       ('address1@mail.it') +           
       ('address2@mail.it')) DSTD('TEST') +
LONGMSG('test mail...')

我为我的用户收到了一个错误,我用WRKDIRE修复了这个错误,实际上现在当我调用程序时,读取到dspjoblog:成功完成了分发的发送。但是我没有收到邮箱里的任何东西

我认为SMTP配置是正常的,但是我收到了这个错误:

代码语言:javascript
运行
复制
      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          

我发现了这个错误:

代码语言:javascript
运行
复制
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作业中,该错误日志如下:

代码语言:javascript
运行
复制
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
EN

Stack Overflow用户

回答已采纳

发布于 2012-04-12 09:37:59

您可以从使用DSPDSTLOG查看SNADS日志开始。

IBM支持文档"SNADS - Basic Troubleshooting Process“对查找错误源非常有帮助。希望这能帮到你。

http://www-01.ibm.com/support/docview.wss?uid=nas1b56c1c34b489e7528625663d004b1797

票数 1
EN
查看全部 3 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10049362

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档