My colleague has developed an application that sends an html email showing an enclosed picture. The program code is something like the code in Send inline image in email.
The email looks fine when there is no enclosed image but when an image is enclosed and displayed from linked source, all the css is broken.
The solution is to use base64 string: