markknowsley
Programmer
I want to send an email from within my C# code. I've found a tutorial on the web that suggests the following statement:
MailMessage objEmail = New MailMessage();
However, to use this I need the namespace System.Net.Mail.MailMessage;
which I cannot seem to access - the only option I have is System.Net.Sockets. I've had a look in the References section of my C# project and there is no System.Net.dll
Any ideas where i'm going wrong?
MailMessage objEmail = New MailMessage();
However, to use this I need the namespace System.Net.Mail.MailMessage;
which I cannot seem to access - the only option I have is System.Net.Sockets. I've had a look in the References section of my C# project and there is no System.Net.dll
Any ideas where i'm going wrong?