How can i add an image in html email from lotus domino agent?

Posted by mike_x_ on Stack Overflow See other posts from Stack Overflow or by mike_x_
Published on 2014-05-27T09:22:03Z Indexed on 2014/05/27 9:25 UTC
Read the original article Hit count: 218

Filed under:
|
|
|
|

i want to add a simple image into an email which i want to send from a lotus agent.

I paste below a part of the code:

StringBuilder sb = new StringBuilder();
sb.append("<div><img src=\"http://goo.gl/lziMZN\"></div>");
email.setHTMLPart(sb.toString());
email.send("[email protected]");

I also tried to use an image from my image resources in the nsf.

Whatever i tried i get an empty image area (browser-no-image icon) in the email i receive. I also have checked "Allow restricted operations" in my agent.

I would prefer it if there is a solution to use an image from my resources and not an external link.

Any solutions?

© Stack Overflow or respective owner

Related posts about html

Related posts about email