I am using JavaMailSender to send a mail .Mail is received to the correct destination ,But the body of email contains unwanted header informations like
Content-Type: multipart/related; boundary="----=_Part_9_5263030.1276263086968"
Content-Type: text/plain; charset=us-ascii
Please find your account details below,
User Name : Applicant1
Password : BP^9^0uN
Kindly note that this is a system generated password and do remember to change this password when you login for the first time.
and also in the mail "to" address and "subject" of the mail is not populated.It looks like some issues related to the configuration.But i coudn't figure out the exact reason.The JavaMailSender has the following configuration
Any help will be highly appreciated.