Hi,
I have created a
VB.NET project that will send a simple mail message. I need to put this into a service. The problem is that when I cut the code into my service ( which runs ok ), the service will not start. I have pinpointed it down to trying to do anything with the Message object I have created ( dim myMessage As MailMessage = New MailMessage). This works but if I set a property ( e.g. .To ), the service builds and installs but will not start.
Any ideas ?
Many Thanks