In Windows you can configure the mail settings from the control panel. What I want to know is where is that information stored? I need to write an app that can send email and by default I want to use those settings. I assumed that if I used the parameterless constructor of SmtpClient it would read them, however when I run the following code:In Windows you can configure the mail settings