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??
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??