473,405 Members | 2,282 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,405 software developers and data experts.

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.HTML or email.format.Text ?

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

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 1084
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***@discussions.microsoft.com> wrote in message
news:08**********************************@microsof t.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.HTML or email.format.Text ?

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

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
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...
1
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...
1
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...
3
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...
0
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
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...
0
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...
1
basstradamus
by: basstradamus | last post by:
Hi Does somebody now how many kB can I send from server to my browser using AJAX ?
3
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...
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
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
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,...
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,...
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.