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

Create Notes email from Notes document fields

Status
Not open for further replies.

NotesUser

Programmer
Mar 10, 2003
5
0
0
AU
Trying to have a script(using formula or lotus script) that will compose an email when user clicks on a button/link in 'Notes client' after opening a notes document. The email should pop-up giving the user the "opportunity to edit the email" before clicking the Send button to send. The email body will have a number lines and also contains some fields of the opened notes document.

Someone has suggested that I try the following:
to := "testemail@test.com";
subject := "Email Notification for " + field1;
CC := "";
bodycontent := "test in body - " + field1;
@URLOpen("mailto:" + to + "?subject=" + subject + "&CC=" + CC + "&body=" + bodycontent)

This partly works, but how do I insert extra lines into the email's body. I've tried using @NewLine, @Char(13), @Char(0) and @Char(10).
i.e.
bodycontent:="first line with field: " + field1 + @NewLine + "this is the second line";

But my problem is still not resolved. Any ideas??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top