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
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
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)
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:
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks