DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   struct in programming while coding SMTP (http://www.daniweb.com/forums/thread157827.html)

NEEDJAVA Nov 17th, 2008 5:26 am
struct in programming while coding SMTP
 
there is no
import javax.mail.*;
in my java and net beans so how can i get those packages or what i have to do for importing that

peter_budo Nov 17th, 2008 11:42 am
Re: struct in programming while coding SMTP
 
Such question can be answer by simple google search
JavaMailAPI
Presuming that what ever you do is Web Project than in you should add mail archive to lib folder that can be found as PATH_TO_PROJECT/web/WEB-INF/lib. If the "lib" folder does not exist created it in described location and drop the jar file there. NetBeans should take care of rest of it


All times are GMT -4. The time now is 11:42 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC