Thank you for the reply Bruce.
I am confused, if ASP.Net does not use authentication and I'm currently
using Exchange-Server, be it via SMTP, then how is it sending out emails? I
though Exchange Server requires authentication.
Please help.
regards,
Tushar
"bruce barker" <no***********@safeco.com> wrote in message
news:O6**************@TK2MSFTNGP14.phx.gbl...
asp.net does not support exchange. it only talks to SMTP, so your exchange
server must host SMTP. The SMTP does not need to be local, just one you have
access to. the standard asp.net mail library does not support any
authentication, if you use the lower level CDO library you can add headers
to support basic.
its common to setup a local SMTP server that talks to the real SMTP server
becuase it can supply authenication.
if you buy a third part email control that supports exchange, you will need
to setup an identity in the web config, but its not used by SMTP.
-- bruce (sqlwork.com)
"Tushar" <xx*************@CODA.com> wrote in message
news:ue**************@TK2MSFTNGP12.phx.gbl...
Please help: I found some of the following information in messeges in this
group but I would like someone to confirm them please.
I would like to use the following web-services / ASP.Net code to be used
in an intranet environment:
MailMessage Message = new MailMessage();
Message.To = ...
...
SmtpMail.SmtpServer = ...
SmtpMail.Send(Message);
In order for this code to work on a production machine the following IIS
components will be required (is that correct):
1. WWW Server, etc.
2. SMTP Service
Is the [SMTP Service] required even if there is Exchange-Server running on
another server?
In order to making e-mailing work with a domain-user recognised by the
exchange-server, is it true that I need to edit web.config file in the
following way?
<identity
impersonate="true"
userName="DOMAIN\UserName"
password="Password" />
Does this mean that this ASP.Net will use this identity for all server
accesses including database access? Should I be setting database security
for this application using this identity and not the ASPNET user?
Please help and give more info.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 01/11/2004