Hi,
I am now trying for a few days to resolve an error.
I created a project to read from a pop3 emailbox and get the attachments from all messages, save them to a local folder.
I used the smtpop.dll freeware library.
I worked with the code on this site: http://www.fryan0911.com/2009/05/how-to-read-pop3-email-using-c.html
This is working fine in debug mode. All attachments get pulled from the emails and saved to folder.
But... when i build the project and try to run the project, from the /release folder or any other pc, then i get the error:Configuration system failed to initialize
I placed the smtpop.dll in the same folder as the .exe
i referenced and used the .dll as described on the website.
What am i doing wrong, why do i get the error after building and not while debugging ?
Can anyone shed some light on it ?
rudy
Loading
Rudy BesetPosted Nov 15, 2010, 9:40 AM
Thank you for your answer. I did get a PM with an answer i was just trying this morning.
I was so stupid to call my own config file with the email accounts settings to be named.config
So the program thought it was the XML config file, which it wasn't.
Changed my own config file to .cfg and rebuild the solution with the correct XML config file solved the problem.
Now it works like a charm.
Zoran HorvatPosted Nov 15, 2010, 9:23 AM
Are config files for debug and release exactly the same?