Configure SMTP in iis 5.1

Ακυρώθηκε Αναρτήθηκε May 12, 2009 Πληρώθηκε κατά την παράδοση
Ακυρώθηκε Πληρώθηκε κατά την παράδοση

I am trying to send out email in .net application in a development box. It is XP Pro version 2002, with sp3, iis 5.1 and .net framework 2.0

The mails are unable to send out, they sit the C:\Inetpub\mailroot\Queue folder. Each time I run the script, the email goes to the Queue directory. I believe my code is correct. The SMTP server is configured and please see attachment. I don't think is the coding because it works in the live server. So I need someone walk me through confirguring my SMTP .

my code

Dim mail As New MailMessage()

'set the addresses

[login to view URL] = New MailAddress("contact@[login to view URL]")

[login to view URL] ="Email from us"

[login to view URL]("something@[login to view URL]")

dim emailstr as string

emailstr ="Thank you"

mail.body=emailstr

'send the message

Dim smtp As New SmtpClient("localhost")

[login to view URL](mail)

.NET Υπηρεσίες Ιστού Amazon ASP Εικονικός Βοηθός Visual Basic

Ταυτότητα Εργασίας: #3876246

Σχετικά με την εργασία

3 προτάσεις Απομακρυσμένη εργασία Ενεργό May 24, 2009

3 freelancers κάνουν προσφορές κατά μέσο όρο $42 για αυτή τη δουλειά

crajeshbe

See private message.

$25.5 USD σε 14 μέρες
(32 Αξιολογήσεις)
5.2
kotish

See private message.

$14.45 USD σε 14 μέρες
(16 Αξιολογήσεις)
2.8
kseen

See private message.

$85 USD σε 14 μέρες
(12 Αξιολογήσεις)
2.5