469,324 Members | 1,452 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,324 developers. It's quick & easy.

Sending Email via Exchange Server from ASP.NET

Hello.

I am writing a website for my company. There is a sign-up form that requires
us to send a confirmation email to our customer. Our company uses Exchange
Server 2000 as our mail server. We decided not to implement any smtp server
as that may post some additional security risk. The question is, how can I
write an ASP.NET 1.1 script (in C#, though I think there is not much
difference between C# and VB.NET) that can send email, through the exchange
server, to our customer?

I have read a lot of materials concerning mailing via SMTP, such as the
System.Web.Mail.Message. I have came along solutions that requires an
installation of Outlook at my webserver, using Outlook.Application. I also
saw solutions that uses CDO.Message. However, as a beginner in C# and
ASP.NET, I cannot find one that solve my problem. They mostly requires a
virtual SMTP server to do forwarding outgoing email, or Outlook.

Is there any direct way of exchange/asp.net interaction? Thank you very much
and I do appreciate your helps and efforts!

Regards,
Gilbert.
Mar 23 '06 #1
1 2508
Using System.Web.Mail, you can set your SMTP server as your Exchange Server
and as long as the Exchange Server will accept relayed email messages from
your web server, you should have any issues.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Gilbert Cheung" <gi*****@cs.wisc.edu> wrote in message
news:eA**************@tk2msftngp13.phx.gbl...
Hello.

I am writing a website for my company. There is a sign-up form that
requires us to send a confirmation email to our customer. Our company uses
Exchange Server 2000 as our mail server. We decided not to implement any
smtp server as that may post some additional security risk. The question
is, how can I write an ASP.NET 1.1 script (in C#, though I think there is
not much difference between C# and VB.NET) that can send email, through
the exchange server, to our customer?

I have read a lot of materials concerning mailing via SMTP, such as the
System.Web.Mail.Message. I have came along solutions that requires an
installation of Outlook at my webserver, using Outlook.Application. I also
saw solutions that uses CDO.Message. However, as a beginner in C# and
ASP.NET, I cannot find one that solve my problem. They mostly requires a
virtual SMTP server to do forwarding outgoing email, or Outlook.

Is there any direct way of exchange/asp.net interaction? Thank you very
much and I do appreciate your helps and efforts!

Regards,
Gilbert.

Mar 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Sven Templin | last post: by
17 posts views Thread by Bonj | last post: by
2 posts views Thread by Gaz | last post: by
2 posts views Thread by Jim in Arizona | last post: by
8 posts views Thread by Michel Posseth [MCP] | last post: by
14 posts views Thread by sridhar | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.