Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 3 of 3

Thread: Carrage return in CIT Script

  1. #1
    Member
    Join Date
    Dec 2001
    Location
    Germany
    Posts
    37

    Default Carrage return in CIT Script

    Hi Folk,

    does someone know how to spring from one line to the next line by spliting a mailbody e.g. with connect It. The issue ist how must carrage return coded in connect It script, with some statement like:

    separator = Instr(1, Mailbody, "\n")

    The statement return Null Value .
    Thanx for any advise. Cheers, Gérard

  2. #2
    Member
    Join Date
    Dec 2001
    Location
    Germany
    Posts
    37

    Default

    Sorry, I finally tried the statement:

    Separator = InStr(1, MailBody, Chr(13))

    And it works.....

    Gérard

  3. #3
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Technically You should code is as chr(10)+chr(13).

    Some mailservers will refuse the mail if You only use chr(13).
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

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