I have worked with the hosting company and they have given me the mail server, and told me it's authenticated, I am using the following script for that part:
Dim smtp As New SmtpClient("67.15.97.8")
smtp.Credentials = New NetworkCredential("usernam
smtp.Port = 23 'I have tried it with and without this line, as well as port 587
smtp.Send(objMail)
Is there a way I can test this on a dev smtp server on my machine? I am using VS2008 and their temporary web server that creates itself when you hit view in browser. I assume this doesn't have an smtp element to it. Therefore do I have to install the full IIS with smtp element (Win XP) if I wanted to test this on my local machine - or would that not still work. At least then I guess we could rule out the code or anything my end.
Main Topics
Browse All Topics





by: aibusinesssolutionsPosted on 2009-02-27 at 19:58:02ID: 23761649
You'll need to check with your hosting company and see what mail server you should use.
Some hosting companies require you send to "smtp.domain.com", with SMTP authentication, some require you send to "localhost".