commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.at>
Subject Re: Php png attachement with commons.mail
Date Wed, 20 Jan 2010 19:18:46 GMT
Hi Stefano,

good catch ... :-)

Siegfried Goeschl

Stefano Bagnara wrote:
> The whitespace is not a valid character for URLs. Your browser
> automatically convert the space to %20 when making the request.
> Try using %20 instead of space in your code (param2 value) and I guess
> it will work.
>
> Stefano
>
> 2010/1/20 Sébastien Bonaimé <bonaime@ipgp.fr>:
>   
>>>> 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
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: user-help@commons.apache.org
>>>
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message