keyongtech


  keyongtech > scripting.vbscript > 03/2007

 #1  
03-21-07, 06:12 AM
sumit.halder
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)
 #2  
03-21-07, 02:52 PM
mayayana
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.
[..]
Similar Threads
Embed HTML in generated email body

I am working on a project that generates an email from various cells within an excel speadsheet. Some of the data is critical and needs to be BOLDed or Red Text. I've setup...

How to display HTML images in received email body?

Recently for no particular reason that I can figure out I have lost the ability to view screen shots and other HTML images in the body of received emails. If I Reply or...

How to embed images in html email

I have a vb.net program that sends out html emails via smtp on a windows 2003 server. Question I have is how do you embed images in an html email message? You get to...

Cannot embed VBScript In HTML Email In Outlook 2003

Hi, System Details: Windows XP Professional SP2, Outlook 2003 SP1, IE6 SP2. I have a Java appliaction that constructs a HTML Email and sends it to a mail client. In the...

Embedding images in oulook email html body

Hi I like to embed a picture in an email. I must not look like an attachment. The body will be html format. I can be done with ordinary use of outlook, but how can I make...


All times are GMT. The time now is 04:41 PM. | Privacy Policy