.NETGURU
Receive single HTML/Plain Text email
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-mail' list.


Robert Corvus
I'm trying to get an app to send a recipient an email that is in HTML
format if they can receive HTML emails, but sends the recipient a Plain
Text email if they can't get HTML email. I want the recipient to just
receive one email (an HTML email if they can get it, otherwise just a
Plain Text email).
Someone told me that the email viewer (Iike Outlook) will just ignore
the Plain Text email if you just send one of each with the same Subject,
but I've tested this and my Outlook gets BOTH the HTML and the Plain
Text emails.
Is there a query that I need to do to the recipient to find out if their
mail server receives HTML, and then fire my emailer based on the query
result?
--Robert
Reply to this message...
 
    
Ryan Trudelle-Schwarz
I=92m not sure about CDO but in most cases, when a =93HTML=94 messages =
goes
out it also has a plain text version that ships in the same message.
=A0
General format is like so:
=A0
Body:
=A0 ----- divider
=A0=A0=A0 plain text version
=A0 ---- divider
=A0=A0=A0 html version
=A0
This is all per the MIME specs.
=A0
Likely what your friend was referring to is that Outlook will default to
showing the html version and ignore the plain text version.
=A0
=A0
-----Original Message-----
From: Robert Corvus [mailto:Click here to reveal e-mail address]=20
=A0
I'm trying to get an app to send a recipient an email that is in HTML
format if they can receive HTML emails, but sends the recipient a Plain
Text email if they can't get HTML email.=A0 I want the recipient to just
receive one email (an HTML email if they can get it, otherwise just a
Plain Text email).=A0=20
Someone told me that the email viewer (Iike Outlook) will just ignore
the Plain Text email if you just send one of each with the same Subject,
but I've tested this and my Outlook gets BOTH the HTML and the Plain
Text emails.
Is there a query that I need to do to the recipient to find out if their
mail server receives HTML, and then fire my emailer based on the query
result?
--Robert

---
[This E-mail scanned for viruses by Declude Virus]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification