在服务器上用DataStage自带的邮件发送组件无法发送邮件,报错信息如下:
Item #: 18
Event ID: 79
Timestamp: 2012-12-07 15:31:28
Type: Warning
User Name: WIN-21RPRQ0TVLF|LDW_Vendor
Message Id: IIS-DSTAGE-RUN-I-0019
Message: CopyOfTest..JobControl (DSSendMail): Error when executing command: C:\IBM\InformationServer\Server\Projects\pro_MCCL_ETL\sendmail_CopyOfTest_55886554_7872.bat
*** Output from command was: ***
SMTPMail Looking up server...
SMTPMail Opening connection to 152.141.186.126...
SMTPMail RCV: 220 *****************************************************************************************************
SMTPMail RCV: 250 MCDCSFPAPP015.kldc.APMEA.McDcorp Hello [152.141.186.126]
SMTPMail RCV: 250 2.1.0 Sender OK
SMTPMail RCV: 250 2.1.5 Recipient OK
SMTPMail RCV: 500 5.3.3 Unrecognized command
SMTPMail RCV: 500 5.3.3 Unrecognized command
Please check any paths in the following command file are correct, and if necessary adjust the 'dssendmail_template.txt' file in the project directory.
Contents of command file:
C:\IBM\InformationServer\Server\DSEngine\bin\dssmtpmail.exe -file sendmail_CopyOfTest_55886554_7872_file.tmp
但是用Powershell就可以正常发送邮件,求解啊!!