Error: ‘80040222’ The pickup directory path is required and was not specified

Error: ‘80040222’ The pickup directory path is required and was not specified when send mail using CDO in asp

 

 

Solution

Error:

CDO.Message.1 error ‘80040222’

The pickup directory path is required and was not specified

 

 

Change the “sendusing” CDOSYS setting inside the code.

 

Change from:

(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 1

 

Change to:

(“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2

.