Tool to convert html to multiline string for mail?

Discussion in 'ASP General' started by John Dalberg, Sep 24, 2004.

  1. John Dalberg

    John Dalberg Guest

    I need to convert html into a multiline string which looks something like
    this:

    shtml = "<table border=""0"" cellspacing=""0"" cellpadding=""0""
    width=""720"">" & _ "<tr><td width=""100%"" valign=""top""><br><!-- Main
    Table -->" & _

    ....

    Is there a tool that can do this?

    John Dalberg
    John Dalberg, Sep 24, 2004
    #1
    1. Advertising

  2. What is the source of the HTML? A web page on the Internet? A file on your
    file system? In a database? You shouldn't need to do anything but store
    the contents of the source in a variable.

    Ray at work

    "John Dalberg" <> wrote in message
    news:...
    >
    > I need to convert html into a multiline string which looks something like
    > this:
    >
    > shtml = "<table border=""0"" cellspacing=""0"" cellpadding=""0""
    > width=""720"">" & _ "<tr><td width=""100%"" valign=""top""><br><!-- Main
    > Table -->" & _
    >
    > ...
    >
    > Is there a tool that can do this?
    >
    > John Dalberg
    Ray Costanzo [MVP], Sep 24, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?TWlja2VCb3k=?=

    Problem with System.Web.Mail.MailMessage and HTML mail

    =?Utf-8?B?TWlja2VCb3k=?=, Jun 15, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    904
    =?Utf-8?B?TWlja2VCb3k=?=
    Jun 21, 2005
  2. Danny Shevitz
    Replies:
    3
    Views:
    298
    Danny Shevitz
    Apr 30, 2008
  3. Evan
    Replies:
    3
    Views:
    469
  4. dale zhang
    Replies:
    8
    Views:
    419
    Tintin
    Nov 30, 2004
  5. Peng Yu
    Replies:
    2
    Views:
    134
    Tad J McClellan
    Jun 24, 2008
Loading...

Share This Page