2012-04-06 149 views
2

我試圖從我的as400發出一封電子郵件失敗! 我使用這個代碼放到一個CLLE:用SNDDST發送郵件

SNDDST  TYPE(*LMSG) TOINTNET((*NONE) + 
     ('[email protected]') +   
     ('[email protected]')) 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 
+0

你有SMTP服務器設置是否正確? – 2012-04-09 13:36:11

回答

1

你可以通過查看使用DSPDSTLOG SNADS日誌開始。

IBM支持文檔「SNADS - 基本故障排除過程」對於找出錯誤來源非常有幫助。希望這有助於...

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

+0

謝謝!我發現這個錯誤!我編輯了我的帖子 – 2012-04-12 14:16:25

+0

你可以檢查文件「/MMAIL/temp/Q6.txt」是否存在。如果存在,授予* public權限,然後重新啓動郵件服務器(「ENDMSF」,然後「STRMSF」)。 – lamLam 2012-04-13 02:44:03

+0

/MMAIL/temp是空的。但是當這個文件被創建? – 2012-04-13 07:17:48