Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Outlook to send email through my asp.net website. It works fine when I try it on my development machine. But When I deploy my website on server, it gives me following error.


'Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80010001'


Plz Help!
Posted

Install the proper version of Interop assemblies on the server

http://www.microsoft.com/en-us/download/details.aspx?id=20923[^]
 
Share this answer
 
Comments
Member 7797800 11-Jun-12 5:24am    
On both client side and server side, outlook version is 12.0.0.0 . So can you please elaborate what i need to do exactly?
Don't use outlook to send email, you shouldn't be trying to automate office on a web server. Not only is it problematic, there are licensing issues to consider amongst other things

Instead, you should be using the SMTP client .. a very simple example here, have a Google and you will find loads of examples

http://bradkingsley.com/sending-email-from-asp-net-4-c-sample-code/[^]
 
Share this answer
 
Comments
Member 7797800 11-Jun-12 5:22am    
as per client requirment I need outlook only.
Following two step are required.

1. create outlook attachment. this attachment should have all fields i.e. subject, attachment, body, to , from , etc
2. send it thru smtp
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900