Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Embedding Image issue...
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted August 27, 2004 1:31 PM

I'm having problems embedding an image into an HTML email. Image does appear in the email but it is not embedded in that email, meaning, if I change the location of the original on my HD, image disappears from the email. For ex. original image is located on C:\images\testimage.gif. When I send an email to my self, I can see the image in my email, but once I rename testimage.gif to something else, image in my email disappears. I'm using MailTool 2.8 and i'm using a method ole_Smtp.object.Message.AddHtml ("htmldoc.html") Please let me know what am I doing wrong.
P.S. This is all done in PowerBuilder...

Thank you in advance,
Dmitry
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 27, 2004 3:41 PM

It sounds like you have a very old version of the Mail Tool. Try getting the latest from our Website and try again. I did not have any problems.
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted August 27, 2004 4:49 PM

I had DartMail.dll version 2.8.0.14, but I went ahead and upgraded to 2.9 like you suggested. On some machines the problem went away (win 2000), but on XP, problem still exists. I have replaced the DartMail.dll, DartSock.dll and DartUtil.dll. Unregistered the old DLL's and registered the new ones. Do you have any other suggestions for me?
Thank you,
Dmitry
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 27, 2004 5:21 PM

How are the imgs defined in the HTML?
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted August 30, 2004 10:01 AM

Here is the HTML that I use for the emails.
Please let me know if you see anything wrong or have any suggestions. Thank you

"<table
<tr>
<td><img src='C:\logo.gif'>
</td>
</tr>
</table>"
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted August 30, 2004 10:02 AM

P.S. Closing bracket for table is only missing in this sample.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 30, 2004 10:05 AM

Try it without having the directory references. When you create the mail, put the html and all the images in the same directory and reference like this:

<img src='logo.gif'>

or put them one level in:

<img src='images/logo.gif'>
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted August 30, 2004 10:08 AM

I've already tried that and got same results. Any othere suggestions, please?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 30, 2004 10:52 AM

You'll have to start a support incident. Since we are not able to duplicate this, we will need from you a very simple sample project that demonstrates the problem. Include the html and images along with the project. Please zip everything up before sending.

Send to support@dart.com

Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX