问题描述
在服务器上用DataStage自带的邮件发送组件无法发送邮件,报错信息如下:Item#:18EventID:79Timestamp:2012-12-0715:31:28Type:WarningUserName:WIN-21RPRQ0TVLF|LDW_VendorMessageId:IIS-DSTAGE-RUN-I-0019Message:CopyOfTest..JobControl(DSSendMail):Errorwhenexecutingcommand:C:IBMInformationServerServerProjectspro_MCCL_ETLsendmail_CopyOfTest_55886554_7872.bat***Outputfromcommandwas:***SMTPMailLookingupserver...SMTPMailOpeningconnectionto152.141.186.126...SMTPMailRCV:220*****************************************************************************************************SMTPMailRCV:250MCDCSFPAPP015.kldc.APMEA.McDcorpHello[152.141.186.126]SMTPMailRCV:2502.1.0SenderOKSMTPMailRCV:2502.1.5RecipientOKSMTPMailRCV:5005.3.3UnrecognizedcommandSMTPMailRCV:5005.3.3UnrecognizedcommandPleasecheckanypathsinthefollowingcommandfilearecorrect,andifnecessaryadjustthe'dssendmail_template.txt'fileintheprojectdirectory.Contentsofcommandfile:C:IBMInformationServerServerDSEnginebindssmtpmail.exe-filesendmail_CopyOfTest_55886554_7872_file.tmp但是用Powershell就可以正常发送邮件,求解啊!!