gselliott
08-28-2002, 06:42 AM
I am sending emails through Access using the sendobject method, the text is put straight into the body of the email using code.
What i am now wanting to do is to have certian words be displayed in the message as bold text and possibly a different colour. Is this possible or not?
Any ideas would be appreciated!
CJBIRKIN
08-28-2002, 07:31 AM
Hello
I don't know if this is familiar this is how i send e-mail any way.
Public Function Mailer()
Dim olkapps As Outlook.Application
Dim olknamespaces As Outlook.NameSpace
Dim objmailitems As Outlook.MailItem
SetWarnings = False
Set olkapps = New Outlook.Application
Set olknamespaces = GetNamespace("MAPI")
Set objmailitems = olkapps.CreateItem(olMailItem)
With objmailitems
.To = "MY FRIEND JIM"
.Subject = "SERVICE MESSAGE FROM OURLOG: UN-OUTCOMED REQUESTS REPORT"
YOU CAN USE HTML TAGS TO CREATE STUFF IN THE BODY OF THE E-MAIL
.HTMLBody = "<B> SERVICE MESSAGE FROM OURLOG: UN-
OUTCOMED REQUESTS REPORT </B>"
.Importance = olImportanceHigh
.Send
End With
Set objmailitems = Nothing
Set olknamespaces = Nothing
Set olkapps = Nothing
SetWarnings = True
End Function
Chris
gselliott
09-09-2002, 02:48 AM
That works fine for email, but can you use bold text in a task item through the code.
Thanks.