INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Not a big deal - curious, HTMLBody font determination

Not a big deal - curious, HTMLBody font determination

(OP)
I found code that creates email message. When I see the results in outlook, I noticed that the Font and Point size for the first line is Times 12 pt, while subsequent lines are Calibri 11. If I manually open outlook and click New Message, and paste stbody, it renders all in Calibri 11. I haven't deliberately formatted fonts or sizes and the text is all one string, is there another setting that is telling outlook to render line 1 ("Hello ...") in a different font than all the other lines? It's not a big deal so I understand if there are no responses to this post.

Partial code:

CODE -->

...
...
stBody = "Hello " & rs!FirstName & ",<br><br>" & _
                 "Thank you again teaching today. Attached are the " & _
                 "evaluation responses from your most recent courses. <br><br>" & _
                 "If you have any questions, please let me know.<br><br> " & _
                 "Thank you,<br>"
...
...
With MailOutLook
          .BodyFormat = 3      'Late binding in lieu of olFormatRichText
          .To = rs!PrimaryEmail 
          '.cc = ""
          '.bcc = ""
          .Subject = "Evaluation Results"
          .HTMLBody = stBody & "<br>" & Signature
...
... 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close