?
Solved

Using TextBold in MailSend

Posted on 2006-06-14
8
Medium Priority
?
1,082 Views
Last Modified: 2013-12-18
I have  a form which upon selecting a Submit button, sends an email.  Is it possible to make certain words of the email bold or a change the color so that it stands out to the person receiving the email?  I am using formula language.

Thanks -
servicegroup
0
Comment
Question by:servicegroup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16907016
I think it's not possible. Even in LotusScript you cannot do everything you want, boldface is possible but changing colours isn't. You could try to send HTML emails, but that's quite a lot of work, since you have to bypass the normal Domino send mechanism. See
    http:Q_20432381.html "Using LotusScript to send HTML email"
0
 
LVL 20

Accepted Solution

by:
brwwiggins earned 172 total points
ID: 16907177
in Formula there is not a way that I know of. If you convert to using Lotus script then you can look at the NotesRichTextStyle class
0
 
LVL 18

Assisted Solution

by:marilyng
marilyng earned 164 total points
ID: 16908211
The only way you can change the color using @Commands is to open the mail form and compose it:

@Command([EditGotoField];"Body");
@Command([TextSetFontColor];[Red]);
@Command( [TextBold] );
@Command([EditInsertText];"Here is some Text in Bold Red" + @NewLine);
@Command( [TextBold] );
@Command([TextSetFontColor];[DarkBlue]);
@Command([EditInsertText];"Now this should be regular stuff")

----------
Otherwise you are left with NotesRichTextStyle, NotesRichTextParagraphStyle class and so on as BRWIggins says.


Using script, you can indent, change color, add a button and do a lot of things with your email that you cannot do in formula language.

I typically start my email reminders with a BOLD RED: Escalation Notice!   (within minutes, the problem would be addressed - amazing what a little color can do for an email)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 164 total points
ID: 16927498
sjef, why do you say you can't do colours in LotusScript?  As the others say it is quite possible, I have a few manually craeted "newsletter" style reports sent out in rich text using code like this, a snippet is here if it gives you some pointers:
      
'Setup rich text parameters
      Set rtitem = New NotesRichTextItem( newsDoc, "Body")
      
'Start of message body
      richStyle.Bold = True
      richStyle.notesfont=FONT_HELV
      Call rtitem.AppendStyle(richStyle)
      Call rtitem.AppendText("Please review ......  You can click on the links next to each item to open each document.")
      Call rtitem.addnewline(2)
      
'Fixed pitch font, Heading Underlined, Blue so headings line up with data without tables
      richstyle.notesfont=FONT_COURIER      
      richstyle.notescolor=COLOR_DARK_BLUE
      richstyle.Bold=False
      richStyle.Underline= True
      Call rtitem.AppendStyle(richStyle)
      Call rtitem.AppendText("LINK" & "  " & View.columns(3).Title)
      
'Turn off underline, blue leaving in Courier font
      richStyle.Underline= False
      richstyle.notescolor=COLOR_BLACK
      Call rtitem.AppendStyle(richStyle)
      Call rtitem.addnewline(2)

etc.

Ends up working really nicely though all these options are somewhat harder than @MailSend...

Steve
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 16928685
So sorry...:-$

Luckily I said "I think it's not possible". It seems that there are ways in R6 to create new colours (CreateColorObject) and fonts (GetNotesFont). I have yet to try these gadgets, and I wonder how the results are when the mail is sent out to an Internet address.
0
 
LVL 18

Expert Comment

by:marilyng
ID: 16929752
Colors work, fonts work if the other person has the font.  When you start creating tables, or embedding objects, not sure.   Then, I think, you have to use the mime objects and reference the notes address on a server that is available to the sender, like sending a web page.   Could be wrong, haven't  tested html email lately :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question