Sending mail from my development machine using SmtpMail class

B

Bazza Formez

Hi,

This question undoubtedly shows a great lack of knowledge on my part, but
here goes.

I am developing my first ASp.NET app, and in one part, I need to send an
email.

It seems that I can do this via the SmtpMail class....

The question is : Can I test this from my development machine ... ie.
actually have a message leave this machine & get to a recipient using SMTP ?
What do I have to do to make this actually work... I am running IIS on Win
XP Pro.

I can see messages sitting in a directory called \Inetpub\mailroot\Queue
.... how do I configure things to go beyond this point & get out to the net ?

When I deploy this app to my host, will all of this just magically work ?


thanks,

Bazza
 
J

Jason Brown [MSFT]

you need the IIS SMTP service (or other SMTP service) installed, and an ISP
that doesn't block port 25 (as many do now as a means of combating spam)
 

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

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top