Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Posts
    44

    Unanswered: Sending Email - Format the wordings

    I have a textarea with some lines, for example,

    1. abc
    2. fhfg
    3. jikl


    When i send an email, what will appear in the email will be:

    1.abc 2.fhfg 3. jikl


    I'm using asp... can anyone tell me how can i make my words appear like what i have type, instead of all appearing togther?

    when i send the email, i request.form that textarea values..

  2. #2
    Join Date
    Nov 2005
    Location
    Honolulu HI
    Posts
    119
    the email is going out as HTML then ?

    i think you need to convert the vbCrLf to a "<br>"

    Code:
    strMessage=Request.form("Message")
    strMessage=replace(strMessage,vbCrLf,"<br>")
    every time you hit enter, that is a combination of a Carriage Return and a Line Feed (CrLf) your using vbScripting, so that combo is built into the scripting language (vbCrLf) converting the enter key into HTML Line Breaks (<BR>) will give you the proper formatting.
    Last edited by kropes2001; 02-28-06 at 06:28.
    .
    .
    http://www.HawaiianHope.org
    Providing Technology services to non profit orgs, Homeless Shelters, Food Pantries, Clean And Sober Houses and more.
    To date we have given away over 900 free computers !
    __________________________
    caeli enarrant gloriam Dei !

  3. #3
    Join Date
    Jan 2006
    Posts
    44
    thanx! i solved it..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •