473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

multipart/alternative mime format for smtp mail

System.Web.Mail.MailFormat

The enumerated values for MailFormat are:

Html

Text

How can I send a multipart/alternative format message ?

(where both an html and text version are contained)
Jul 21 '05 #1
3 2723
I don't think it is possible without writing a class that derives from the
MailMessage class and write in that functionality yourself.

Or, you could just send two messages, one for HTML, one for text... ;)

HTH,
Bill P.
"c# newbie" <no****@leave.me.alone> wrote in message
news:6b******************************@news.teranew s.com...
System.Web.Mail.MailFormat

The enumerated values for MailFormat are:

Html

Text

How can I send a multipart/alternative format message ?

(where both an html and text version are contained)

Jul 21 '05 #2
I found an article with a class that doesn't use smtp or MailMessage but
offers multipart

http://www.eggheadcafe.com/articles/20030316.asp

I am trying right now to see if I can get it to work and then maybe switch
to that.

I think extending the MailMessage class would be a more elegant solution,
but I am not sure how to go about that.
"Bill Priess" <no*****@nospam.com> wrote in message
news:OZ*************@TK2MSFTNGP11.phx.gbl...
I don't think it is possible without writing a class that derives from the
MailMessage class and write in that functionality yourself.

Or, you could just send two messages, one for HTML, one for text... ;)

HTH,
Bill P.
"c# newbie" <no****@leave.me.alone> wrote in message
news:6b******************************@news.teranew s.com...
System.Web.Mail.MailFormat

The enumerated values for MailFormat are:

Html

Text

How can I send a multipart/alternative format message ?

(where both an html and text version are contained)


Jul 21 '05 #3
You could also use http://www.freesmtp.net

This does it for you and is free.

"c# newbie" <no****@leave.me.alone> wrote in message
news:c5******************************@news.teranew s.com...
I found an article with a class that doesn't use smtp or MailMessage but
offers multipart

http://www.eggheadcafe.com/articles/20030316.asp

I am trying right now to see if I can get it to work and then maybe switch
to that.

I think extending the MailMessage class would be a more elegant solution,
but I am not sure how to go about that.
"Bill Priess" <no*****@nospam.com> wrote in message
news:OZ*************@TK2MSFTNGP11.phx.gbl...
I don't think it is possible without writing a class that derives from the MailMessage class and write in that functionality yourself.

Or, you could just send two messages, one for HTML, one for text... ;)

HTH,
Bill P.
"c# newbie" <no****@leave.me.alone> wrote in message
news:6b******************************@news.teranew s.com...
System.Web.Mail.MailFormat

The enumerated values for MailFormat are:

Html

Text

How can I send a multipart/alternative format message ?

(where both an html and text version are contained)



Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: LRW | last post by:
Because I've had recipients of our newsletter tell us they can't (or won't) receive HTML e-mail, I found out how to make an e-mail that sends both HTML and a plaintext version in a multipart...
2
by: Damien | last post by:
Hi to all, After hours of attempts and "googling", I'm still pulling my hair off my head when I try to send multipart html emails. It "works" on PCs with Outlook when I juste send a single...
5
by: lucanos | last post by:
Hey All, I'm having trouble trying to create a PHP file which will generate a multipart email message (containing both an HTML formatted part and a Plain Text formatted part). I have Googled...
3
by: c# newbie | last post by:
System.Web.Mail.MailFormat The enumerated values for MailFormat are: Html Text How can I send a multipart/alternative format message ?
0
by: Guoqi Zheng | last post by:
Dear sir, I am using my own tcpclient code to send email instead of using CDO. Question, I would like the mail message to be in mime multipart format. I am not familiar with mime. Does any...
2
by: Der tolle Emil | last post by:
Hi! I wrote a little function to send emails which works quite well. I already managed to send attachments correctly (also more than 1 per email) but I am not able to send a HTML mail containing...
0
by: ptraj | last post by:
Dear ppls, I'm doing a small project to extract all messages from outlook by Visual Basic 6.0 and write them into a file(in MBOX format). While accessing messages i able to get headers, body,...
0
by: sachintandon | last post by:
Hello all, Thanks in advance for your help I have a problem in sending emails, my requirement is to send multipart alternative emails with attachments, I'm able to send text with attachments or...
4
by: ceh | last post by:
Hi, on windows xp I'm using xampp v 1.6.4 I'm trying to send mail. The mail always sends, but the multipart sections are broken. Essentially, I want to send an html email that has a link...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.