I want to send emails from xPages. I have created a test button and added a simple action "Send Mail" to it, but when I click on it to send the test email I get this runtime error:
Exception
Error sending MIME mail
I tried to send emails using this SSJS too:
var doc:NotesDocument = database.createDocument();
doc.replaceItemValue("form", "Memo");
doc.replaceItemValue("sendTo", "[email protected]");
doc.replaceItemValue("subject", "hi there!");
doc.replaceItemValue("body", "content here");
doc.send();
but I got this runtime error:
Error while executing JavaScript action expression Script interpreter error, line=6, col=5: [TypeError] Exception occurred calling method NotesDocument.send() null
I'll appreciate your help.
Thanks