Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 28th, 2008, 05:23 AM
Authorized User
 
Join Date: Nov 2006
Location: Pune, , India.
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default HTML email problem in asp.net

Hello friends,
       I send one html mail from asp.net code.I set IsHtmlbody=true
When I use outlook and chek mail then it shows correct html mail but when I reply to this mail then in my original mail message html formatting is vanished.

In html code I try to send two Textboxes in mail.
for that i write code as

msgBodyhtml += "<table border='1' cellspacing='0' cellpadding='0'>";
DateTime dt = DateTime.Now
msgBodyhtml += "<tr><td> " + "<b>sanjiv@sconce.com.sg</b>" + "</td>";
msgBodyhtml += "<td><input type='text' value='ss' /><input type='text' value='ss' /></td>";
msgBodyhtml += "</tr>";
msgBodyhtml += "</table>";

Using this I see text boxes in my mail but when I reply to this mail then in below original mail message these text boxes are not seen.
Please help me

Thanks in advance


  #2 (permalink)  
Old May 28th, 2008, 06:59 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Hi there.. are you sure that you are replying in HTML? maybe you are replying in plain text...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
  #3 (permalink)  
Old May 28th, 2008, 07:28 AM
Authorized User
 
Join Date: Nov 2006
Location: Pune, , India.
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default

Hi gbianchi,
  I am sure that I m replying in HTML bcoz I tested all setting of Outlook for that.
If u will give me your emailid then i will send that mail to u also

  #4 (permalink)  
Old May 28th, 2008, 07:58 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

send it to hotmail...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
  #5 (permalink)  
Old May 28th, 2008, 11:09 PM
Authorized User
 
Join Date: Nov 2006
Location: Pune, , India.
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanjivbshinde
Default

Hi gbianchi,
        I sent mail to ur hotmail account.

  #6 (permalink)  
Old May 29th, 2008, 06:49 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

The mail came in perfect, and I reply it perfect to.. the problem is in your outlook... did you try with other email clients?

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retain text in html form asp email b00gieman Classic ASP Basics 0 August 31st, 2007 04:30 AM
ASP: Sending a HTML form to an email address cancer10 Classic ASP Databases 4 February 19th, 2007 05:25 PM
ASP.NET 2.0 Email Problem-Urgent sohrabus ASP.NET 2.0 Professional 3 October 6th, 2006 11:19 PM
email problem in asp.net raju_30339 ASP.NET 1.0 and 1.1 Basics 1 February 8th, 2005 09:16 AM
add HTML into Email created by ASP crunch Classic ASP Basics 1 March 22nd, 2004 05:08 AM



All times are GMT -4. The time now is 01:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.