Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using the free version for Google Apps to host my mail. I want to set is so that mail is routed via google apps as this will give me a much better reputation and mail will not go to the spam folder as much. Doe anyone know how this is done? Would I need to setup IIS to do this?

The site is writeen in C# ASP.NET. So Could I perhaps just update the web.config file to route mail via google apps?

share|improve this question

1 Answer 1

The term to research is 'smarterhost'. IIS SMTP and other tools like SmarterMail support a smarthost. This allows you to send to 'localhost' which in turn will forward your request to another mail server.

However, I don't know off the top of my head if IIS SMTP or SmarterMail support custom credentials and ports that Google Apps requires. They probably do, just be careful to remember whenever you make a password change that you'll need to update these settings too.

Alternately you can directly send it from C#. Here's a post on the syntax in your config file and from code: http://www.4guysfromrolla.com/articles/072606-1.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.