Hi,

I am using Mail tag to send message.
 The code I have used in jsp page is

<javamail:mail server="localhost"   to="<%= request.getParameter(\"to\") %>"
   from="<%= request.getParameter(\"from\") %>"
   subject="<%= request.getParameter(\"subject\") %>" >
<javamail:sendmessage> <%= request.getParameter("text")
%></javamail:sendmessage>
<javamail:send/>
</javamail:mail> 

Using this code Iam unable to send message, probably i am not using "to="<%=
request.getParameter(\"to\") " in a correct way.
Is there any other syntax  i can use for  "request.getParameter" method to
get the dynamic values.
Could any one suggest is this is the appropriate syntax or is there any
other way.

Thanks
Srinivas


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to