5 Replies Latest reply on Mar 4, 2011 11:24 PM by beyerch2

    FDM Mail Err:  The pickup directory path is required and was not specified.

    LarryR
      FDM 9.3.1 on Microsoft(R) Windows(R) Server 2003, Enterprise Edition, Version 5.2.3790 Service Pack 2 Build 3790

      I'm getting the following error when trying to send an e-mail. I have verified that all of the parameters are valid & passed correctly to the Sub. Line 343 is the .Send command.

      ERROR:
      Code......................................... -2147220958
      Description.................................. The pickup directory path is required and was not specified.

      At Line: 343
      Procedure.................................... clsEventHandler.PobjAPI_ImportAction
      Component.................................... upsWObjEventHandlerDM
      Version...................................... 931
      Thread....................................... 8704


      Sub SendMail (strErr, strFrom, strTo, strSMTPSvr)

           Set objConfig = CreateObject("CDO.Configuration")     

           With objConfig.Fields
                .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2' 1=use local machine, 2=use over network
                .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSMTPSvr
                .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")= 25
                .Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
                .Update
           End With
           
           Set objMsg = CreateObject("CDO.Message")     
           Set objMsg.Configuration = objConfig

           With objMsg
                .To = strTo
                .From = strFrom
                .Subject = "Products Missing From Custom2 Mapping Table"
                .TextBody = strErr
                .Send
           End With

           Set objMsg = Nothing
           Set objConfig = Nothing

      End Sub