Hi
since you have not added much details I had to do some guess-work.
I assume you want to send the email using an existing account, handling everything such as message subject, sender, receiver and content in your own application.
If my assumption is true then I highly recommend you to have a look at the
SmtpClient
and the
MailMessage
class which both can be found in the
System.Net.Mail[
^] namespace of the .Net Framework.
Basically there is a
SmtpClient
which can send a
MailMessage
. The
MailMessage
has a
MailAddress
or, if the email goes to more than one receiver, a
MailAddressCollection
to which the email is sent (Same for CC and BCC). As in every usual email you can decide if the
MailMessage
is formatted as plain text or HTML, which priority it has and add attachments to it.
Hope I was helpful.
cheers,
Marco Bertschi