Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: mSendMail MAPI Error 701 WIL Extender Error 701 Invalid Mapi DLL fixmapi.exe
AddExtender("WWMAP44I.DLL") recip_email="User@MyDomain.com" time=TimeDate() file="C:\temp\test.txt" ret=mSendMail(recip_email,"My Subject","This message was mailed at %Time%",file,"") Message("mSendMail",ret)Here is my Trace file
************************************************************ *** Debug Initialized *** ============================== Fri 8/28/2009 8:06:42 AM WinBatch Studio 2007E WIL DLL 5.16eep D:\testemail.wbt Windows platform: NT, version: 5.1, build: 2600 (Service Pack 3) ErrorMode: @CANCEL ============================== ----- Extender loaded: C:\Program Files\WinBatch\SYSTEM\WWMAP44I.DLL (file version: 44011,0,0,0) AddExtender("WWMAP44I.DLL") (484) VALUE INT => 1 recip_email="User@MyDomain.com" (969) VALUE STRING => "User@MyDomain.com" time=TimeDate() (1766) VALUE STRING => "Fri 8/28/2009 8:06:43 AM" file="C:\temp\test.txt" (2391) VALUE STRING => "C:\temp\test.txt" ret=mSendMail(recip_email,"My Subject","This message was mailed at Fri 8/28/2009 8:06:43 AM",file,"") (18328) VALUE INT => 0 TERMINAL EXTENDER ERROR=>701 (701: Invalid Mapi DLL) ;;;END OF JOB;;; ---------- Begin structure stack dump ---------- 1 call 0 -------- End structure stack dump -------- ---------- Begin WWWBATCH.INI dump ---------- [2009:08:27:12:50:32] CurrentScript=D:\test.wbt ErrorValue=1261 ErrorString=Ole: Exception ScriptLine=oWS.Cells(r, 2).Value = oUser.FullName ScriptOffset=1512 VarAssignment= VarInSegment= [Error Reporting] 3052=make_high [COM Sub-system] Function=CComObjectAg::MakeObject ErrorCode=16389 (0x80004005) ErrorDesc=Unspecified error [WWMAP44I] LastError=127 (mSendMail - GETPROCADDRESS) ----------- End WWWBATCH.INI dump -----------
[WWMAP44I] LastError=127 (mSendMail - GETPROCADDRESS)tells me that the extended error is 127. This Windows system error indicates 'the specified procedure could not be found'. ERROR_PROC_NOT_FOUND
Basically the MAPI Extender is expecting a certain set of functions in the MAPI32.DLL
This extender requires a Full MAPI Client in order to work, such as: Microsoft Exchange, Windows Messaging, Microsoft Exchange Server Client or Outlook [the full version, not Express].
Do you have any Full MAPI clients installed on this system? If so which client and version?
Your options are to download and install the Messaging API (MAPI) client from the above link or to abandon MAPI and use the Postie Extender to handle sending email.
Other Suggestions:
Article ID: W17582
Filename: MAPI Error 701.txt
File Created: 2014:04:18:12:44:48
Last Updated: 2014:04:18:12:44:48