CDO.Message.1 error '80040222' The pickup directory path is required and was not specified |
If you're using IIS 6.0, search
%WINDIR%\system32\inetsrv\MetaBase.XML for the following line:
Verify that the path exists, and has appropriate permissions. Alter the value if it is not set correctly.
On previous versions of IIS, the pickup directory is usually
c:\inetpub\mailroot\pickup -- so make sure that this path exists and has appropriate permissions.
If you are trying to send SMTP mail through exchange, make sure you set the cdoSendUsing property to cdoSendUsingExchange (3). Otherwise, the SMTP service might be expecting a local pickup directory which has never been configured.
Also see
this document for some further information about security settings in Windows 2000 SP3 and greater, and potential workarounds.
If all else fails, try re-installing the SMTP service.