I am trying to send gmail using java. Body of mail is picked from properties file. I have added a property something like this.
new.emp.mail.reg= Welcome {userfirstname} <br> <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQcICAcKCwoLCg8OD.." width:"100px" height:"200px">
I got the mail, but there was no image in it. I can see the box of image(100x200) but image is not present. From img tag only width and height is rendered but not src attribute. How to solve this?