Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 28th, 2008, 05:23 AM
Authorized User
 
Join Date: Nov 2006
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>[email protected]</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


 
Old May 28th, 2008, 06:59 AM
Friend of Wrox
 
Join Date: Jun 2003
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
================================================== =========
 
Old May 28th, 2008, 07:28 AM
Authorized User
 
Join Date: Nov 2006
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

 
Old May 28th, 2008, 07:58 AM
Friend of Wrox
 
Join Date: Jun 2003
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
================================================== =========
 
Old May 28th, 2008, 11:09 PM
Authorized User
 
Join Date: Nov 2006
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.

 
Old May 29th, 2008, 06:49 AM
Friend of Wrox
 
Join Date: Jun 2003
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
================================================== =========





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.