473,396 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to add images from local directory to CreateMHTMLBody in a CDO mail?

Hi I have been trying to add images with IMG tag to my mail.But CDO Exchange
server is not supporting the IMG tags properly when their path contain
spaces. I can not use 'http://' because I am adding the body file from my
harddisk. Is there any other method to embed and send my images through CDO
mail.Have a look at this
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/e2k3/e2k3/_cdo_imessage_createmhtmlbody.asp

radhika
Oct 13 '05 #1
1 2441
im by no means an expert with CDO Ex but spaces in file names lead to
nothing but trouble. Rename them if you have that option.

That being said... have you tried html encoding them? (put %20 in place of
spaces)

"Radhika" <sw****@yahoo.com.au> wrote in message
news:bf******************************@ureader.com. ..
Hi I have been trying to add images with IMG tag to my mail.But CDO
Exchange
server is not supporting the IMG tags properly when their path contain
spaces. I can not use 'http://' because I am adding the body file from my
harddisk. Is there any other method to embed and send my images through
CDO
mail.Have a look at this
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/e2k3/e2k3/_cdo_imessage_createmhtmlbody.asp

radhika

Oct 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris Nafziger | last post by:
In my code to send email from VBScript, I use standard CDOSYS code similar to the following: With oMsg Set .Configuration = oCon .To = """Admin"" <admin@mycompany.com>" .From =...
4
by: Braky Wacky | last post by:
Here's my scenario. I have an ASP page that I call on my server, say: http://myserver.com/firstPage.asp In this first ASP page, I want to send a MIME email that has the contents of another...
1
by: Radhika | last post by:
Hi I have been trying to add images with IMG tag to my mail.But CDO Exchange server is not supporting the IMG tags properly when their path contain spaces. I can not use 'http://' because I am...
2
by: rschaeferhig | last post by:
I'm writing a .Net 1.1 app that needs to send emails with the body being formed by a locally served web page. Easy to do in legacy ASP. I found that apparently CreateMHTMLBody is not supported via...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
0
by: Kevin.Ailes | last post by:
I am set up to develop on my local XP machine with Visual Studio 2005 and when I'm ready, I deploy to my test environment on a different box. Once things work fine there, I deploy to the live...
3
by: eholz1 | last post by:
Hello PHP Group, I am having trouble setting permissions correctly so that the magickwand api (php 5.2) can read and write images. I usually read a file from one directory, create a magickwand...
7
by: Jurjen de Groot | last post by:
I'm developping a web-app using VS2008 (Pro edition) on a Vista Ultimate machine .. For some reason images aren't shown, the only thing shown is the little square with the circel, triangle and...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.