File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Khalid Gul
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didn't propertly quote the image url. Based on the limited information you've given, that's all I can guess.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic