473,657 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how do I make email text bold

I have an app that sends email to clients. There is now a requiremnt
to have one line in bold, as some clients seem to have overlooked some
instruction. Right now the body is just a bunch of concatenated
strings.
How do I make one of these lines bold?

Nov 11 '07 #1
5 5903

<cs*****@yahoo. comwrote in message
news:11******** *************@5 7g2000hsv.googl egroups.com...
>I have an app that sends email to clients. There is now a requiremnt
to have one line in bold, as some clients seem to have overlooked some
instruction. Right now the body is just a bunch of concatenated
strings.
How do I make one of these lines bold?
Put ***ASTERISKS*** around the important text.

Nov 11 '07 #2

I would say send the e-mail HTML formatted

regards

Michel
<cs*****@yahoo. comschreef in bericht
news:11******** *************@5 7g2000hsv.googl egroups.com...
>I have an app that sends email to clients. There is now a requiremnt
to have one line in bold, as some clients seem to have overlooked some
instruction. Right now the body is just a bunch of concatenated
strings.
How do I make one of these lines bold?

Nov 11 '07 #3
On Nov 11, 5:16 pm, "cs_h...@yahoo. com" <cs_h...@yahoo. comwrote:
I have an app that sends email to clients. There is now a requiremnt
to have one line in bold, as some clients seem to have overlooked some
instruction. Right now the body is just a bunch of concatenated
strings.
How do I make one of these lines bold?
Use the html format and wrap the lines with "strong" tags.

i.e.

Dim text As String = "<strong>Th is is bold text</strong>"

Thanks,

Seth Rowe

Nov 11 '07 #4
"cs*****@yahoo. com" <cs*****@yahoo. comwrote in
news:11******** *************@5 7g2000hsv.googl egroups.com:
I have an app that sends email to clients. There is now a requiremnt
to have one line in bold, as some clients seem to have overlooked some
instruction. Right now the body is just a bunch of concatenated
strings.
How do I make one of these lines bold?

You'll need to send HTML e-mail.

<strong>MY BOLD TEXT HERE</strong>

If you're using System.Net.Mail , make sure you set the Message.IsHTMLB ody
Flag to True.
Nov 12 '07 #5
Be aware that beside the rest of the answers, that this completely depend on
the receiving email program.

Cor

Nov 12 '07 #6

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

Similar topics

5
30083
by: Stefan Mueller | last post by:
In HTML I use <b>...</b> to make parts of a text bold. <h1 class = "Style-MyText">This text is normal. <b>This text is bold.</b></h1> Now I'd like to do the same with a JavaScript. I tried HTML: <h1 id = "MyID1" class = "Style-MyText">.</h1> JavaScript: document.getElementById("MyID1").firstChild.replaceData(0, document.getElementById("MyID1").firstChild.nodeValue.length, "This text is normal. <b>This text is bold.</b>");
9
54384
by: Jason | last post by:
If I've got Me.RichTextBox1.Text = "In Ricn Tex Box" Me.RichTextBox1.Text &= "Line two" & vbCrLf How do I make the first line appear BOLD?
6
1916
by: cfish | last post by:
I'm trying to script my contact page and I have everything the way I want it however I cannot get my script to output Address, City, State, Zip & Phone Number when I get a email. It will output email address, subject & message. Please help! /* BELLonline PHP MAILER SCRIPT v1.4 Copyright 2006 Gavin Bell http://www.bellonline.co.uk gavin@bellonline.co.uk modified by Craig Fisher for Dakota Portraits - 1-30-2006 */
0
5373
by: jibysubhash | last post by:
hi all i have got a php code which sends attachments via mail..... Please help me how to send the file parameters to the php via http service send method.... i am placing the php and flex codes here please help Sad PHP code <?php $to = 'somemail@mail.com'; $from = $_POST; $name = $_POST;
4
6025
by: pablorp80 | last post by:
Hello, Here is what I need: I need the focus and the cursor set to a textbox named txtGT, every time no matter if it is the first page load or whether it is a postback. Here is the problem: I am using AJAX and MasterPages as well as an update panel, the textbox is in a panel. I have tried to do it using different java scripts but I can't get it to work because I am not using asp forms, instead I am using Containers. Here is my code:...
2
2309
by: sindhudixit | last post by:
Hey, I am having a user fill out a form then the fields are going to uploaded to my database. So, at this point, when the user hits the submit button I want three things to happen: 1. The form uploads to a database (the following code does this) 2. An e-mail is sent to my sales team as well as the customer, which contains the form values . 3. I want the user to then be directed automatically to another webpage, after they hit the...
0
1723
by: =?Utf-8?B?TWFyazEyMw==?= | last post by:
I have two pieces of VB.NET code below: a) Sends an email b) Returns a programmatically created jpeg image to a webpage. How can I embed the programmatically created jpeg into an HTML formatted email (without saving the jpeg to disk)? Code a) ======
5
1985
by: drogba9000 | last post by:
<style type="text/css"> .tbmain{ /* Changes on the form */ background: url(http://jotform.com/images/styles/style4_2_bg.gif) #363535 top repeat-x !important; } .left{ /* Changes on the form */ color: #cccccc !important; font-family: Verdana !important; font-size: 12px !important;
0
8302
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8820
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8718
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8499
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5630
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.