473,396 Members | 2,033 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,396 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)
Nov 15 '05 #1
3 2997
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)

Nov 15 '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)


Nov 15 '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)



Nov 15 '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...
3
by: maheswaran | last post by:
Hi , Am new in PEAR. I have using PEAR/Mail.php for sending mails using smtp authentication. Here that my mailto form. <?php session_start(); ini_set("smtp_port",25); include("Mail.php");...
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.