This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 17, 2013, 7:24 AM
41 Posts

Mail send issue

  • Category: Extension Library
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: Mail send issue
  • Replies: 2

Dear Team,

I would like to send the mail by ssjs.

 

Jul 17, 2013, 12:32 PM
586 Posts
Sending mail

You can easily send mail by ssjs.  Shouldn't be a problem.  Conceptually it's the same thing as LotusScript.

I believe Domino 9 also has a simple action for sending mail but I've not tried that yet.

Jul 25, 2013, 12:06 PM
51 Posts
Mail send issue

This is very simple.Please refer the following code.

doc1 = database.createDocument()
doc1.appendItemValue("Form","Memo");
body = doc1.createMIMEEntity();
subject = body.createHeader("Subject");
var sub= String(getComponent("subject3").getValue());
stream = session.createStream();
subject.addValText(sub,"iso-8859-6");
stream.writeText("text");
body.setContentFromText(stream, "text/html; charset=iso-8859-6", 0);
var intaddress=new Array(@DbLookup(db,"($Users)",memberlist[j],1));
doc1.appendItemValue("SendTo",intaddress[0]);
doc1.save();
doc1.send()


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal