First of all, I want to start what I want and whats my issue, and to clarify that I'm using dbmail (SQLServer) for the sending process, and the main issue is that I don´t get it to work with Gmail.
I need to send mails with integrated images (embedded or attached is the only possibility), but I can't seem to be able to achieve this without linking the images into a dedicated image hosting server.
I've tried embedding with base64 but images sometimes get a length of 6000 characters, and when the stored procedure that I've created gets executed the mail arrives empty and when I check the table sysmail_faileditems they body column appears with an empty value so I guess that the mail gets truncated because of the length of the base64 image.
And when I send the email with the image attached and reference it in src field it never loads where it's supposed to, it just shows as an attachment. This is maybe because of the security policies of Gmail, but in Outlook for desktop works just fine with this setup.
Thanks in advance.