yes, got it.. the mail has been sent...
i changed my whole code..
please check whether the code is of world class.
Thank you.. all
Suggest me if there are any changes.? but code is...
Type: Posts; User: Praful Chougale
yes, got it.. the mail has been sent...
i changed my whole code..
please check whether the code is of world class.
Thank you.. all
Suggest me if there are any changes.? but code is...
yes i have added the required jar files to lib. and the above code showing the exception as..
Couldn't connect to host, port: localhost, 25; timeout -1
Send Email using JSP
Result: Sending...
I m Using JAVA SE 7 update 51
and netbeans 7.4
does it require the jar files to add to lib???
This is my JSP
<%--
Document : mail
Created on : Jan 22, 2014, 3:52:38 PM
Author : xyz
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
the same link i had referred but its not working.
ya i knw about java mail api
and i also added .jar files to my lib..
but still i m facing problem ..
I want to send email from my jsp file ..and i have a html code which contains form and inputs.
how can i send the email ??????
and i m using netbeans//