How to embed img to e-mail HTML body (Outlook object)

I use object: new ActiveXObject("Outlook.Application")
to send e-mails with HTML format body.
I would like that imgs and other resources in HTML body
would be embeded into e-mail (not linked by url as
in regular HTML). How to do this ?
I have to add to HTML tag some general attribute or
I have to prepare by scripting attached resource, get its
id and attached this id to tag as some attribute ?
I didn't find it in Outlook docs.
Thank you,
Vladimir

 
vladimir12345Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rxolotlConnect With a Mentor Commented:
There are 3 kinds of email mime-type.
1.- text/plain
2.- html/plain
3.- multipart

It must be a property of your ActivexObject.
When you send an atachment mime-type used id multipart or you can reference by absolutely way like http://...
0
 
rxolotlCommented:
You need to found some property like mime type and put it as "html/text"
0
 
vladimir12345Author Commented:
I don't sure.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
vladimir12345Author Commented:
Thanx, I'll test it. If it will work I'll write points for you.
0
 
vladimir12345Author Commented:
It doesn't work. I put all variants into meta tag
within e-mail HTML body.
:-(
0
 
rxolotlCommented:
The ploblem is not a meta tag is a part of smtp header
Your ActiveX work with smtp protocol you need change a property of your activeX not a Meta Tag. You need documentation about your activeX or change it.

0
 
rxolotlCommented:
http://support.microsoft.com/support/kb/articles/Q161/0/82.ASP
it contains a download hlp file to programm outlock since vbscript.
0
 
vladimir12345Author Commented:
I'll test it.
I can send e-mail as HTML, problem is that I cannot
embed image into e-mail body, Outlook saves it as url
link.
0
 
rxolotlCommented:
You need to send image as attachment, use as mimetype multipart. If you are using Visual Basic or ASP or Visual C you can use CDONTS Activex object if you are working on Windows NT Server or Windows 2000 server.
0
 
vladimir12345Author Commented:
Not, I use ActiveXObect from client computer.
It sends e-mail with HTML body correctly.
If I write in the body tag:
<img src="http://www.some_addr">
It remains the same in e-mail.
I'd like that Outlook embeds img into e-mail body
instead of using its url.
0
 
COBOLdinosaurCommented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&
0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to rxolotl

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
Computer101Commented:
Comment from expert accepted a answer

Computer101
E-E Admin
0
All Courses

From novice to tech pro — start learning today.