C++/VB - VBscript embed images in HTML email body

Asked By sumit.halde
21-Mar-07 01:12 AM
Hi
Im sending email's using the "script task" of SQL Server 2005
Integraton Services. The email body is an HTML string . Now i want to
embed image in that body.I tried to do that by downloading the CDO
library ( CDOEX.dll ) but could not add it to the script task ( was
not able to add the cdoex.dll file to the refference of that script) .
Can anybody help me on the same ( either how to add a .dll file in
SSIS script task or any other way to embed image using vbscript to an
html email body)
SQL Server
(1)
AddFileToThisEmail
(1)
OtherComponent
(1)
VBscript
(1)
CDOEX
(1)
HTML
(1)
SSIS
(1)
CDO
(1)
  mayayana replied...
21-Mar-07 09:52 AM
I don't know anything about "SQL Server 2005
Integraton Services" so I don't know how you're doing
it. I assume that you want a simple solution like

OtherComponent.AddFileToThisEmail

I can't offer any help in that case.

If you actually want to do it "by hand" you can.
It requires converting your binary file to Base64 and
then adding that text to the end of the email. The format
varies slightly depending on whether you actually want a
displayed image or an attachment. That approach
can be done without needing any extra component, but it
requires getting into the details of email structure.
Create New Account
help
Connection to SQL Server on Vista C++ / VB I have VB6 application which connects to SQL Server 2000 (installed on the developer machine) database. I use this code to connect: strConnectionString = "DRIVER = SQL Server;SERVER = (local);UID = ;DATABASE = Coordinator;Trusted_Connection = Yes" objConn.Properties("Extended Properties") = strConnectionString objConn.Open Everything works s OS. Any suggestion please Thank you vovan VB DataBase ADO Discussions ADODB.Connection (1) SQL Server 2000 (1) SQL Server (1) Windows XP (1) Visual Studio (1) MySQLNAC (1) Office
wmi Sql table notification C++ / VB I want to monitor a specific table for data changes in SQL server using WMI. How do I do this? Win32 WMI Discussions SQL Server 2005 (1) SQL Server 2000 (1) SQL Server (1) Windows XP (1) ObjectName (1) TextData (1) Ms179305 (1) Urkec (1) You can
Accessing SQL Server via MFC & ADO C++ / VB Hello, I currently have two MFC applications that are accessing SQL Server via ADO. Everything works perfectly (it connects to SQL Server and runs the stored procedures and all), the only issue that I seem to be these apps, so I am guessing that somehow this is caused by me connecting to SQL Server? The server I am connecting to is local (on my machine), and will be local
Anybody used VB6 with SQL Server Compact Edition C++ / VB Hi Does anybody know how to create a db and link up with it using VB6? Thanks VB DataBase ADO Discussions SQL Server 2005 (1) SQL Server (1) Visual Studio 2008 (1) Database (1) ECUhl0R (1) SQLite (1) SqlCe (1) EBook (1 ADO-dependencies, only two small Dlls). Olaf Are you sure you are talking about the "SQL Server Compact Edition"? The CE version is part of a long line of MS SQLServer "Lite