I am trying to open the default mail box with the pdf attachment, using my jsp button with the following script in jsp
<a href="mailto:webmaster@example.com?subject=my report&body=see attachment&attachment="${pageContext.request.contextPath}/report_generate_pdf_ajax_call" class="navLink"><span>Email </span></a>
But it is able to open the default mail box with blank email, but not able to get the attachemnt from the url: ${pageContext.request.contextPath}/report_generate_pdf_ajax_call
I took the help of following link Link1 and Link2Link3 but I haven't got success with my result.
Any help regarding in this context will be appriciated.