Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Email sending - words arrangement

    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
    Regular Coder Baleric's Avatar
    Join Date
    Feb 2005
    Location
    Australia
    Posts
    332
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <br> ....

    i got mine like this
    Code:
    dim imessage
    imessage = request.form("Message")
    myEmail.htmlBody = ""& Trim(iMessage) & vbCrLf
    -baleric

  • #3
    New Coder
    Join Date
    Jan 2005
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts
    erm.. thanx for your reply..
    but the words display are still in this format "abc bhk hiis"

    i want it in
    1
    2
    3
    4

  • #4
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What is your email code.
    Are you sending as text or HTML?

    If you are using HTML then you may have to replace the carriage returns with <br>

    Code:
    Replace(text,vbCRLF,"<br>")

  • #5
    New Coder
    Join Date
    Jan 2005
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i'm using html...

    ya, i got it le.. thanx!


  •  

    Posting Permissions

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