Still does not work. and Microsoft's samples are lame. For example from their page.
Visual Basic(Usage)
Dim instance as EmailAdapter
Dim value as String
value = instance.Subject
instance.Subject = value
Strange looking.
Other sample I found as an example: Dim oEmail As EmailAdapter = DirectCast(xDoc.DataAdapters("Email Submit"), EmailAdapter) and got "Object reference not set to an instance of an object error"
I am just trying to send an email using code. Can it be that difficult in VB? I have been working on this for three days. This is frustrating. There are no good samples. All the samples I have seen do not work are are incomplete. People have a tendency to give samples and they assume you are an expert in the code, so many of the samples don't make sense. Or when I try to use them, it seems incomplete.
Thanks for your help anyway.
Mike