R
Reidar
I am trying to send web email in vs2005, but haven't succeeded so far.
I found an example in C# to make a Console application.
The top of the code is
using System;
using System.Web.Mail;
I have added a reference System.Web.
When I run the code I get warnings saying that System.Web.MailMessage is
'obsolete'.
Alternative is System.Net.Mail.MailMessage
When I change the System.Web.Mail to System.Net.Mail, I can't find any
reference for System.Net.Mail
Does anybody have a good example to follow just to send a plain web email
whith From, To, Message, Body and Attachment.
Preferrably in Vb.
regards
reidarT
I found an example in C# to make a Console application.
The top of the code is
using System;
using System.Web.Mail;
I have added a reference System.Web.
When I run the code I get warnings saying that System.Web.MailMessage is
'obsolete'.
Alternative is System.Net.Mail.MailMessage
When I change the System.Web.Mail to System.Net.Mail, I can't find any
reference for System.Net.Mail
Does anybody have a good example to follow just to send a plain web email
whith From, To, Message, Body and Attachment.
Preferrably in Vb.
regards
reidarT