Adam Kinney on .NET

Hunting Godzilla in .NET...

How do you send an email via IIS on WIndows 2003 with Exchange 2003?

I don't like to use my blog as a way to find answers but I can't seem to find my answer anywhere.  So here's my scenario:

I am trying to send an email via ASP/ASP.NET on a Windows 2003 server.  Which is normally pretty easy.  The problem is, this server is also running Exchange Server 2003, which has taken control of the SMTP service (like its supposed too).  Is it just not possible to send mail through IIS?  It seems like everything I try fails.

Disclaimer: I am not an Exchange guru and I have looked for the answer, but most of the answers were for Exchange 2000 (which appears to be setup differently).

Any help or links would be gratefully received.

Posted: Feb 23 2004, 07:10 PM by AdamKinney | with 2 comment(s)
Filed under:

Comments

Sanat Gersappa said:

Try setting
SmtpMail.SmtpServer = "Your IP Address";

Since Exchange is listening on the SMTP port, it should work.
# February 23, 2004 11:23 PM

James said:

Did you get any reply for this question. I have same problem. Before I knew how to set up IIS4 to run with Exchange 5.5; unfortunately I forgot that too.

James
# May 12, 2004 9:51 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)