473,327 Members | 2,069 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,327 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 2434
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.