commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Bonaimé <bona...@ipgp.fr>
Subject Php png attachement with commons.mail
Date Wed, 20 Jan 2010 15:45:50 GMT
Hi !

I would like to use commons.mail to send with java with an attached
png image from an URL.

My problem is that the image in php generated and I think it creates a
problem.

I have the following error:
org.apache.commons.mail.EmailException: Invalid URL set:http://myserver.mydomain.org/myphpscript.php?param1=122&param2=2009-01-01
  20:10:52

I changed name of the server, script and parameters...

Do you think it is possible to do that ?

In my browser,
http://myserver.mydomain.org/myphpscript.php?param1=122&param2=2009-01-01 
  20:20:20
returns a correct png image.

I use the code that I found here:
http://commons.apache.org/email/userguide.html

Thank you
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message