Skip to Content
avatar image
Former Member

Crystal report mail body in html format

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());
		
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers