Hi Ruben,

why do you not make a POST or PUT to your server from your PHP code? 
This s a good, restful way.

best regards
   Stephan

Ruben Jenster schrieb:
> Hi,
>
> I need an SMTP server for receiving java objects. Is it possible with Restlet 
> that the server can receive SMTP messages with a java object in the form of a 
> XML representation in the body? Can the javamail connector do this? According 
> to the javamail homepage, javamail is not for the server side. 
>
> What I want to do is to forward the data of a web from with the PHP mail() 
> function to 
> my restlet server.
>
> Is this a good method?
>
>            SMTP                JAVA
> PHP mail() -----> Apache James ----> REST 
>        HTTP
> Client -----> REST Server
>
>
> Regards,
> Ruben

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1241074

Reply via email to