Community discussion forum

How can images be embedded into an email generated using Database Mail?

  • 1 year ago

    I'm creating a SQL Server 2005 mailing solution that will read an HTML string and MUST EMBED into the outgoing email any images found.  If this were an ASP.net app then this would not be a problem.  The challenge is that this is NOT an ASP.net app and ONLY SQL Server 2005 can be used.  Simply setting the src of the image tag doesn't work because many email clients will initially block those images.  Embedding the images directly into the outgoing email solves this issue.

    How can images be embedded into the body of an email generated using Database Mail?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!