473,792 Members | 3,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I want my message recived as the way I send it

Hi EveryBody:

I made windows application project by using Vb.Net 2003. The Objective of
this project is to let the user send e-mails. I add System.web.dll as
refrance to my project to use system.web.mail class.

When I write an message and I change the font and the color of this message
and I send it, It reached to the recipent as Text mail without the font and
the color that I setted to the message before it has been sent ? either when
I use the email.format.HT ML or email.format.Te xt ?

some body told me that I have to use : HttpUtility.Htm lEncode() .

I used it many time but nothing change either I dont know exactly how to use
it or it is not the one that I look for.

Also some body toled me that I have to know how to change the TextBox.Text
property which I use to write message to HTML ? and Also I have to write my
own code to do so ?

But Also I try to do that but I face closed door every time.

So any one can give me any help or direction how can I send the e-mail And I
grantee that It will be recived as the way that I sent it with changing in
font and color ?

Any help or redirection will be appreciated

regard's

HUsam
Jan 15 '06 #1
1 1097
if you send the message as html you should also send all markup code with it
,, if you do this it will work as you described

regards

Michel Posseth [MCP]

"Husam" <Hu***@discussi ons.microsoft.c om> wrote in message
news:08******** *************** ***********@mic rosoft.com...
Hi EveryBody:

I made windows application project by using Vb.Net 2003. The Objective of
this project is to let the user send e-mails. I add System.web.dll as
refrance to my project to use system.web.mail class.

When I write an message and I change the font and the color of this
message
and I send it, It reached to the recipent as Text mail without the font
and
the color that I setted to the message before it has been sent ? either
when
I use the email.format.HT ML or email.format.Te xt ?

some body told me that I have to use : HttpUtility.Htm lEncode() .

I used it many time but nothing change either I dont know exactly how to
use
it or it is not the one that I look for.

Also some body toled me that I have to know how to change the TextBox.Text
property which I use to write message to HTML ? and Also I have to write
my
own code to do so ?

But Also I try to do that but I face closed door every time.

So any one can give me any help or direction how can I send the e-mail And
I
grantee that It will be recived as the way that I sent it with changing in
font and color ?

Any help or redirection will be appreciated

regard's

HUsam

Jan 15 '06 #2

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

Similar topics

3
4026
by: bitwxtadpl | last post by:
I want to programmatically set the position of a cursor in a textbox that has focus based on a X and Y value. However, when I send a WM_RBUTTONDOWN and a WM_RBUTTONUP message to the textbox it selects the text from where the cursor is to where I want the cursor to be. All I want is to move the position of the cursor based on a X and Y values, not select the text. The code to recreate the issue.
1
1467
by: Husam | last post by:
Hi EveryBody: I am doing windows application project by using Vb.Net. The function of this project is to send e-mail by adding system.web.dll as refrance to my project and using system.web.mail class to do so. My question is: When I write the message and I change the font to Verdana and change the color to blue the message recived to the" To Address" as text message without
1
1104
by: Husam | last post by:
Hi EveryBody: I made windows application project by using Vb.Net 2003. The Objective of this project is to let the user send e-mails. I add System.web.dll as refrance to my project to use system.web.mail class. When I write an message and I change the font and the color of this message and I send it, It reached to the recipent as Text mail without the font and the color that I setted to the message before it has been sent ? either when...
3
2670
by: growse | last post by:
Right, I've got a 2 c# programs here. Lets call them A and B. My aim is to send a simple string from B to A. A is always running. I've overridden the WndProc method to give me messages that are sent to it. B is a program that loads, sends a message and then quits. Let me give you the code to B (bits are missed out, but I've got the important stuff there): private const uint WM_USER_SENDTEXT = 0x8001;
0
1954
by: ajitpsingh | last post by:
Hi, I recived Error message when acessing OLE Object. "Cannot start the source application for this object" in MS Excel.
14
2295
by: Professor Yonce | last post by:
I have made form for E-Mail. I have entered code but the Import system does not work. It has squiggly line underneath it showing it is not communicating. It Will not build. Public Class Form3Bio1 System.Net.Mail.SmtpClient Imports System.Net.Mail ' This line before ' does not work. I have the rest of code to try if and when I am able to get System working. ' I XXX out certain entrys below just for this publication.
0
2728
by: All-Yours Greetings | last post by:
<HTML><HEAD><TITLE>all-yours.net</TITLE> <META NAME="a"> <METAA NAME="description" content="a"> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD> <BODY bgColor=#FFFFFF link=#000099 vLink=#FF0000> <div align="center"> <p align="left">&nbsp; <p align="left"><font color="#FF0000" size="2" face="Verdana">Hello , </font></p> <p align="left"><font...
1
1174
basstradamus
by: basstradamus | last post by:
Hi Does somebody now how many kB can I send from server to my browser using AJAX ?
3
4091
by: Valli | last post by:
Hi, I want to send ascii data over the tcp socket in VB.NET. When the data reaches the destination, the special characters in the messages are recived as '?'. I meant the special characters which are not keyborad characters. Example chr(250), chr(254). Is there any way to send these kind of special characters through sockets? Is any examples available?
0
10428
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...
1
10156
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
9997
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
9030
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
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();...
1
4110
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
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
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.