Author: summit2000 | Posted on: 5/11/2009 2:00:21 PM | Views : 378

 Hi,

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. I believe my code is correct. The SMTP server is configured as Relay access Only List the below 127.0.0.1. and authentication is set to anonymous access. any suggestions?

 

my code

Dim mail As New MailMessage()
        'set the addresses
        mail.From = New MailAddress("contact@something.com")
        mail.Subject ="Email from us"
        mail.To.Add("something@gmail.com")
        dim emailstr as string
        emailstr ="Thank you"

  &nb ...

Go to the complete details ...