472,122 Members | 1,432 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

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 2794
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.