How To Set delivery notification whether mail successfull or failure?
<pre><code>HtmlEmail email = new HtmlEmail();
email.setHostName(ip);
email.addHeader("X-ListMember", to);
email.addTo(to);
email.setFrom(from,fromdisplay);        
email.setSubject(subject);
email.setHtmlMsg(message);
email.send();
System.out.println("welcome");
</code></pre>

<p>how to solve</p>
