cdo.message.1 error '80040220' the sendusing configuration value is invalid

UJJAVAL TRIPATHI 11 Reputation points
2022-09-29T17:30:12.2+00:00

Hi,

I'm trying to send the SMTP mail from my local IIS 10.0 ,As you know in IIS 10.0 smtp is not supported? Right.
I want to stop this message at my local IIS . I don't want to comment the code because this code is working at server so I just want to stop this message at my local IIS.

Can anyone please help me How do I stop this message?

Thanks

Internet Information Services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yurong Dai-MSFT 2,776 Reputation points Microsoft Vendor
    2022-09-30T02:33:52.97+00:00

    Hi @TripathiUjjaval-7901,

    This was mentioned in a thread:

    1. Click on Application Pools in IIS
    2. Find the application pool corresponding to the website
    3. Right click​​​and select Advanced settings
    4. Changed the identity from "applicationpoolidentity" to "Network Service"
    5. Try the code again

    This worked on IIS7, not sure if it was the solution in this case, you can try it.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the email notification for this thread.

    Best regards,
    Yurong Dai