aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes How to Display  an Email  with an image  on Different Email Account  Using java API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to Display  an Email  with an image  on Different Email Account  Using java API" Watch "How to Display  an Email  with an image  on Different Email Account  Using java API" New topic
Author

How to Display an Email with an image on Different Email Account Using java API

Khalid Gul
Greenhorn

Joined: Apr 10, 2004
Posts: 5
Hi There, we have a problem in displaying an image on other Email Account
when we send an email with an image from our own Email Application ,
Email Body opens successfully but image is not being displayed.

The content of the body which i am sending is written below;

String body= "'<html><head></head><body><table>
<tr><td><strong> From LoneStarASp.Inc </strong ></tr></td></table>
<img src="http://www.mysite.com/image/image1.gif> </body></html>'" ;


Can someone pleaseeeee tell us what are we doing wrong here, we would be very gratefull. Thanks a million.

K.Gul


Muhammad Khalid Ameer,<br />Software Engineer,<br />LoneStar ASP.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
You didn't propertly quote the image url. Based on the limited information you've given, that's all I can guess.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

I don't see what this has to do with JSPs...

Moving to "Other Java APIs" for help with JavaMail (is that what you're using for this?)

One good question to answer would be- Does this happen in all (or a lot) or other email readers or only a specific one?


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Display an Email with an image on Different Email Account Using java API