IIS sending email

I

Iw

Hi!

I'm trying to send email from my asp.net aplication.
But when I'm trying to send, I have the exception:
"Cannot get IIS pickup directory"

Probably I don't have Smtp server.
If I have Windows Server 2003, is it free or not ?
What should I do to have smtp server in my IIS server ?

Thank for help
 
A

Alberto Poblacion

Iw said:
I'm trying to send email from my asp.net aplication.
But when I'm trying to send, I have the exception:
"Cannot get IIS pickup directory"

Probably I don't have Smtp server. If I have Windows Server 2003, is it
free or not ?
What should I do to have smtp server in my IIS server ?

The SMTP server is included with Windows 2003, just not installed by
default. But you shouldn't need it to send mail from your asp.net
application. If you are using System.Net.Mail to send your messages, just
configure the address of the smtp server when you construct your SmtpClient
object. This can be the address of any smtp server which can relay your
mail; it doesn't need to be installed on the same server as your IIS.
 
I

imbirek8

in message [...]
The SMTP server is included with Windows 2003, just not installed by
default. But you shouldn't need it to send mail from your asp.net
application. If you are using System.Net.Mail to send your messages, just
configure the address of the smtp server when you construct your
SmtpClient object. This can be the address of any smtp server which can
relay your mail; it doesn't need to be installed on the same server as
your IIS.

So SMTP server is on CD with Windows2003 ?
Is it difficult to install and configure it ?
 
A

Alberto Poblacion

imbirek8 said:
So SMTP server is on CD with Windows2003 ?
Is it difficult to install and configure it ?

From Control Panel, "Add or Remove Programs", "Add or Remove Windows
Components", "E-Mail Services", "Details", select POP3 and notice the help
message informing you that "SMTP will also be installed".
Then open Computer Management, "Services and Appications", "Intenet
Information Services Manager", and notice a new branch at the end labelled
"Default SMTP virtual server". This is where you configure your SMTP server.
If you need help with this, it is best asked on one of the Windows Server
forums, rather than the C# newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top