send mail

  • Thread starter Thread starter Peter K
  • Start date Start date
P

Peter K

Hi

using System.Web.Mail how does one send a multipart email?

For example, I want to send a "multipart/alternative" email which includes
the three parts "text/plain", "text/html" and "text/calendar". So far I do
it "manually" - that is I make the body as one big string with all the
boundaries, content-types, newlines etc in the right format to make the
multipart email, but I was wondering if there was a "proper" way to do it?

Thanks,
Peter
 
Hi
using System.Web.Mail how does one send a multipart email?

For example, I want to send a "multipart/alternative" email which
includes the three parts "text/plain", "text/html" and
"text/calendar". So far I do it "manually" - that is I make the body
as one big string with all the boundaries, content-types, newlines etc
in the right format to make the multipart email, but I was wondering
if there was a "proper" way to do it?

Thanks,
Peter

In System.Web.Mail that is your only option.
In System.Net.Mail (.Net 2.0) it is possible to add alternate sections.

Hans Kesting
 
Peter said:
Hi

using System.Web.Mail how does one send a multipart email?

For example, I want to send a "multipart/alternative" email which
includes the three parts "text/plain", "text/html" and
"text/calendar". So far I do it "manually" - that is I make the body
as one big string with all the boundaries, content-types, newlines
etc in the right format to make the multipart email, but I was
wondering if there was a "proper" way to do it?

Thanks,
Peter

Or if you have lots of time
http://www.microsoft.com/downloads/...04-c209-4a73-ac5d-ff2a4a3b48b7&displaylang=en
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top