How do I specify the default SMTP host within Visual Studio 2005 or within a web project in Visual Studio 2005? I realize this can be done in the web.config file, however I don't want to do it at that level (I would rather it be done at the machine level). I can set the default SMTP host on IIS 7.0 so that I do not have to specify it in all of my applications, but I cannot find where to specify this in Visual Studio 2005. Is there a machine.config file somewhere that I can change to add this default host? When I debug my web project within Visual Studio, I get run-time errors because I have not specified the SMTP host, but this is not needed on the IIS server so I don't want to code it in. I appreciate your help.
mgonzalezwec 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.