473,406 Members | 2,710 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,406 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 2727
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.