Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic