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

Thread: formatted text in a email...?

  1. #1
    Senior Member eisefr's Avatar
    Join Date
    Nov 2001
    Location
    Germany
    Posts
    538

    Default

    Hi..



    does someone knows about a way to format a text BOLD or underlined in a email?



    I build the mail with the RAD-Application 'message.fc'.



    Greetings..

    Frank

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

    Default

    You could probably do it if You know the escape sequences for the bold code to your printer.



    Ex. in our environment I use Connect.It to send mail. I generate the mail via the standard email macro. To format the body I insert chr(13) which is linefeed. So if escape sequence for bold on is 27 55 and 27 56 for bold off you could build the body something like this:



    $body=chr(27)+chr(55)+"This is bold"+chr(27)+chr(56)+"This is normal"



    I don't know the actual codes above is just an example, I have not tested this but it should work (at least in theory )

  3. #3
    Senior Member eisefr's Avatar
    Join Date
    Nov 2001
    Location
    Germany
    Posts
    538

    Default

    it seems not to work in a formatcontrol.. :-/



    But it SOUNDS like it could work what you wrote.. i guess thats a point to work on...



    I will keep going trying to get it. :smile: :grin:

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

    Default

    I found a page with the ANSI escape sequences for the formatting.



    http://www.isthe.com/chongo/tech/comp/ansi_escapes.html



    I have done a few tests and could get it to work. But that could be because I use Connect.It to send mail. That works a bit different from SCAuto mail.

+ 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