I am sending emails through java web application, Emails contains only html content. Emails sent to recipients are landing in SPAM folder for particularly one domain (ex: mydomain.com).

So, When i searched for the solution it says that, Emails must also contain plain version, So how to include the plain version as well in html mails in java, My emails also contains attachments.