After some initialization I use the following statement to send an email
message:
System.Web.Mail.SmtpMail.Send(email)
As my program will be distributed to different users, who may have
diferent SMTP servers, I don't set the SMTP server, hoping the default
SMTP server wil be used.
The problem is, the message is not being sent. The only thing that
happens when the program reaches the "Send" line is that there is a
little disk activity. The connection is not made, and Outlook Express
doesn't open.
I have Windows XP, and I have tried to send email from an html page
using an html form and it worked. So, it looks that I do have the
capacity to programatically send emails, it is just that my vb.net code
fails to do it.