473,473 Members | 1,533 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

e-mail looses formatting

SAL
Hello,
I am sending an e-mail message from my ASP.NET 2.0 application. The body of
the message is coming from a database and formatting has already been
applied to the text. My problem is that if I set:
IsBodyHtml = True
The body looses its formatting.
I'm including an hyperlink in the body, which I'd like to be clickable, but
I don't care if the rest of the message is html. Is there a way to make both
things happen (have the text hold it's formatting and have an embedded
hyperlink) in a mailMessage from ASP.NET???

I appreciate any help on this topic and sorry if it's already been covered.

SAL
Sep 21 '07 #1
1 1255
SAL
Nevermind. Just make the:
IsBodyHtml = False
And it's all good.
Go figure... Whatever....
S

"SAL" <SA*@nospam.nospamwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Hello,
I am sending an e-mail message from my ASP.NET 2.0 application. The body
of the message is coming from a database and formatting has already been
applied to the text. My problem is that if I set:
IsBodyHtml = True
The body looses its formatting.
I'm including an hyperlink in the body, which I'd like to be clickable,
but I don't care if the rest of the message is html. Is there a way to
make both things happen (have the text hold it's formatting and have an
embedded hyperlink) in a mailMessage from ASP.NET???

I appreciate any help on this topic and sorry if it's already been
covered.

SAL

Sep 21 '07 #2

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

Similar topics

0
by: Altsoft Xml2PDF | last post by:
Xml2PDF formatting engine 2.1 November 17, 2004 Altsoft N.V. Altsoft N.V. is proud to announce the release of version 2.1 of its Xml2PDF formatting engine. The update includes: - improved...
4
by: Bradley | last post by:
I have an A2000 database in which I have a continuous form with a tick box. There is also a text box with a conditional format that is based on the expression , if it's true then change the...
2
by: Leo Duran | last post by:
Hi, I am working on an app right now that makes extensive use of the DataList control. I chose the DataList because I need to do multi row formatting. I am using it like so.
1
by: calvinX | last post by:
Hi Everyone, I am having a problem with sending an email from a VB.NET application. I can send an email automatically from my application (without seeing it) but I want to load the data into my...
8
by: Vinay Jain | last post by:
Hi.. I am newbe in postgresql so please help me though the question may be very easy to answer.. Is there any formatting function to get output with fix lengths..for example my query is.. schema...
4
by: pankajit09 | last post by:
Hello, How to create the formatting area which you see while composing an email ? The formatting area consist of the Bold, Italics, Underline etc.
8
by: Mihai N. | last post by:
I need to format any decimal value so that it is right aligned, thousands It is good to show the info in the format the user prefers. That is language/locale speciffic (CultureInfo in the .NET...
6
by: Tomasz J | last post by:
Hello developers, I bind my TextBox control specyfying a format stored in my application global ApplicationContext object - it has a static string CurrencyFormat property. The problem - this...
6
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I am using a RichTextControl (C# VS2005 .NET 2.0) and allowing users to change the font and color of what ever they select. The problem I am having is that when I select a second set of character...
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
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...
1
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
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,...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.