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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating an e-mail with an attachment.....

Status
Not open for further replies.

dw2k3

Programmer
Jul 31, 2003
2
GB
I need to send the details of a Document via e-mail to recepients using Outlook. If I set attachform = True, I would logically expect the form to be attached to the e-mail but this doesn't appear to work unless I'm sending to a Lotus Notes client(?).
The presentation of the data is the key element here and my other option would be to generate a HTML document with the data from the document....easy! Or so I thought! in doing this and sending the resulting message to an Outlook client configured to receive HTML e-mail, I simply get the HTML source (ie. nothing is parsed by the e-mail client. My other thought is to generate the HTML file and send it as an attachment to the e-mail instead (user receives the file and opens the attachment which presents a nice form in their browser). The trouble is I can't get my head around exactly how i should do this. My questions are:
1. What's the best way of creating the file so that it stays within the database? Bear in mind that I will be generating the HTML through LotusScript and will also need to assign a filename to it with a .HTM or .HTML extension.

2. How can I attach a file to an e-mail message?

3. Is there anyway I can harness Domino's powers to generate HTML from Documents and use this mechanism to create the file??

Oh yes, we're using Domino 5.0.3

Cheers,
Darren.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top