?
Solved

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

Posted on 2001-06-25
13
Medium Priority
?
691 Views
Last Modified: 2007-12-19
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

 
0
Comment
Question by:vladimir12345
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
  • +1
13 Comments
 
LVL 1

Expert Comment

by:rxolotl
ID: 6244911
You need to found some property like mime type and put it as "html/text"
0
 

Author Comment

by:vladimir12345
ID: 6244927
I don't sure.
0
 
LVL 1

Accepted Solution

by:
rxolotl earned 400 total points
ID: 6245028
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
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 

Author Comment

by:vladimir12345
ID: 6245048
Thanx, I'll test it. If it will work I'll write points for you.
0
 

Author Comment

by:vladimir12345
ID: 6245260
It doesn't work. I put all variants into meta tag
within e-mail HTML body.
:-(
0
 
LVL 1

Expert Comment

by:rxolotl
ID: 6245505
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
 
LVL 1

Expert Comment

by:rxolotl
ID: 6245593
http://support.microsoft.com/support/kb/articles/Q161/0/82.ASP
it contains a download hlp file to programm outlock since vbscript.
0
 

Author Comment

by:vladimir12345
ID: 6247532
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
 
LVL 1

Expert Comment

by:rxolotl
ID: 6248749
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
 

Author Comment

by:vladimir12345
ID: 6248815
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7811174
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
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7910098
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
 
LVL 1

Expert Comment

by:Computer101
ID: 7957942
Comment from expert accepted a answer

Computer101
E-E Admin
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question