Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating HTML e-mail using LotusScript

Status
Not open for further replies.

s3crispy5

Programmer
Oct 4, 2002
1
GB
Hi

I've been searching everywhere on the net for the answer to this, but no
luck so far....

I am developing an agent which will run overnight to generate a large volume
of individual e-mails containing formatted tabular information (in fact,
lists of changes made to the database over the past 24 hours). As these
e-mails will be going to internet recipients as well as internal Notes
clients, I am assuming that I need to use Print statements in my script to
generate the html for the body of the mail. 2 questions:

1. How do I go about actually writing the html to the body of an e-mail so
that it is interpreted as html?

2. Am I right in saying that this is the way to do it, or is there
something much simpler? (I have tried manually creating a memo in my mailbox
with a table in it, sent it to my internet address, and it looks pretty good
the other end, but how would I do this programatically and would it look OK
"universally" ie to any internet recipient it may be destined for?)

Any help much appreciated!

Chris


 
I've been working on this myself. The easiest way I found to send html in a memo is to create an htm file, then use the "attach signature from html file" feature to import it. Of course, you will have a problem if you send to someone who can only receive text email. You should set up 2 internet mail account somewhere, one html enabled and one text only and see how your different efforts appear. Within the notes environment, tables are invaluable for presenting your info clearly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top