Here is the code for sending the normal text over mail but the same i want for vm file (html page)
HtmlEmail htmlEmail = (HtmlEmail) MailUtils.getPreConfiguredEmail();
htmlEmail.setHtmlMsg( "Hello world" );
But here i want to send a complete page with dynamic attribute that is nothing but vm file for this page instead of sending the "Hello World" text in my mail.
Please provide a solution to achieve this if you came across with the same requirement. Thanks in advance.