I'm trying to use .NET Interop in Dexterity and am unable to access certain namespaces. In particular, I need to use the System.Net.Mail namespace. This namespace is contained in the System.Net.dll, which I've added to my library, but I get errors when I try to declare local variables that reference the namespace. I'm not sure what else I need to do. As a work-around, I wrote a .dll and reference that namespace, but I'd prefer to not have to resort to that.
Here some sample code:
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Net;
in string sLogin,
sPassword,
sDomain,
sServer;
in integer iPort;
local System.Net.Mail.MailMessage message;
*This post is locked for comments