RE: Java Mail errors

2008-09-23 Thread Deepak Kumar
HI, Here is the lot of examples and tutorials on Java mail api. Read at http://www.roseindia.net/javamail/ Enjoy. -Original Message- From: Jishnu Viswanath [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 5:38 PM To: Struts Users Mailing List Subject: RE: Java Mail errors

Re: Java Mail errors

2008-09-23 Thread Lukasz Lenart
>is it public static void main() what you are saying. is it > required for every class? Not exactly, the method main() is needed if you want to launch the program (it's a entry point to your application), but if you writing Java class which will be used with server or with some ot

RE: Java Mail errors

2008-09-23 Thread Jishnu Viswanath
* ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -Original Message- From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2008 5:15 PM To: Struts Users Mailing List Subject: Re: Java Mail errors Here

Re: Java Mail errors

2008-09-23 Thread Nils-Helge Garli Hegvik
Here's a starting point for you: http://java.sun.com/new2java/ Nils-H On Tue, Sep 23, 2008 at 1:36 PM, Narasimha Raju Naidu <[EMAIL PROTECTED]> wrote: > thanks for your reply, > >is it public static void main() what you are saying. is it > required for every class? > > On Tue, Sep

Re: Java Mail errors

2008-09-23 Thread Narasimha Raju Naidu
thanks for your reply, is it public static void main() what you are saying. is it required for every class? On Tue, Sep 23, 2008 at 4:55 PM, Lukasz Lenart <[EMAIL PROTECTED] > wrote: > Hi, > > I think you should first read some Java tutorial how to write Java > classes (you are m

Re: Java Mail errors

2008-09-23 Thread Lukasz Lenart
Hi, I think you should first read some Java tutorial how to write Java classes (you are missing class declaration), next try to find some Java Mail Tutorial with Google and the least and the most important is that this group is to support Struts users, not to solve any kind of Java problem you can

Java Mail errors

2008-09-23 Thread Narasimha Raju Naidu
hi to all, I am new to java mail. i want to send an email from my system using the following program: --- import javax.mail.*; import javax.mail.internet.*; import java.util.*; public void postMail( String recipients[ ], String