Skip to Content
0

Crystal report mail body in html format

Nov 14, 2016 at 01:13 PM

28

avatar image
I want to send mail body(Java) in html format and currently using "ISMTPOptions",
Added sample code where Meassage will be in HTML fomrat .
ALso suggent any other soluton .
SMTPOptions.setDomainName(rp.getDomainName());
SMTPOptions.setServerName(rp.getSMTPOutGoingAddress());
SMTPOptions.setPort(Integer.parseInt(rp.getSMTPPort()));
SMTPOptions.setSubject(rp.getSubject());
SMTPOptions.setMessage("HTML CODE");
SMTPOptions.setSenderAddress(rp.getSenderAddressString());
		
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers