Hi
I have downloaded and included D:\javamail-1.2\mail.jar;
but not D:\jaf-1.0.1\activation.jar;.How to get this jaf-1.0.1 ?
viju

> ----------
> From:         Cyber Sagar[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology.
> Sent:         Monday, March 18, 2002 3:34 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Mailing using Servlets
> 
> please check your classpath at once again
> 
> see this one
> 
> D:\jaf-1.0.1\activation.jar;.;D:\javamail-1.2\mail.jar;.;
> 
> please let me know after checking.
> 
> Thank you very much
> 
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Vijaya bhaskar K R
> Sent: 18 March 2002 15:27
> To: [EMAIL PROTECTED]
> Subject: Re: Mailing using Servlets
> 
> 
> Richard
> I have downloaded the JavaMail api and have included mail.jar in the
> classpath.
> Still the compilation error
> Package javax.mail not found in import.
> is occuring.
> Plz help.
> viju
> 
> > ----------
> > From:         Richard Yee[SMTP:[EMAIL PROTECTED]]
> > Reply To:     A mailing list for discussion about Sun Microsystem's Java
> > Servlet API Technology.
> > Sent:         Monday, March 18, 2002 10:12 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Mailing using Servlets
> >
> > Viju,
> > JavaMail is an optional package. You can find information about it here:
> > http://java.sun.com/products/javamail/index.html
> >
> > If you ever need information about the Java API, I'd suggest to try
> > searching the java.sun.com site first.
> >
> > Regards,
> >
> > Richard
> >
> > At 09:53 AM 3/18/2002 +0530, you wrote:
> > >Hi Yuriy,
> > >Plz tell me from which jdk javax.mail.*; package will be available.
> > >Thanks
> > >viju
> > >
> > >
> > > > ----------
> > > > From:         Юрий Степовой[SMTP:[EMAIL PROTECTED]]
> > > > Reply To:     Юрий Степовой
> > > > Sent:         Friday, March 15, 2002 9:13 PM
> > > > To:   [EMAIL PROTECTED]
> > > > Subject:      Re: Mailing using Servlets
> > > >
> > > > v> Hi,
> > > > v> i am developing a system that will run on the company intranet.
> as
> > a
> > > > feature
> > > > v> of my software i want ppl to be able to send a mail. the company
> > has a
> > > > mail
> > > > v> server.
> > > > v> mailto is not a good option because it opens up a new message
> > window. i
> > > > v> tried using the java mail class and included the mail.jar in
> > > > jdk1.3.1/lib
> > > > v> and also included it in the class path. the servlet i wrote
> > compiled
> > > > but did
> > > > v> not run (as in it showed  the page not found error).
> > > > v> please guide me asto how to go about implementing it.
> > > > v> please send me some code if somebody has worked on it.
> > > > v> i am a litle new to this servlet bussiness so kindly explain in
> > simple
> > > > v> terms.
> > > >
> > > > v> expecting good n swift help.
> > > > v> Vikas
> > > >
> > > > try
> > > > this example:
> > > >
> > > > MailSend.java
> > > >
> > > > import java.util.Properties;
> > > > import javax.mail.*;
> > > > import javax.mail.internet.*;
> > > >
> > > > public class MailSend {
> > > >   public static void main (String args[])
> > > >     throws Exception {
> > > >     String smtpHost = "your smtp server ip";
> > > >     String from = "[EMAIL PROTECTED]";
> > > >     String to = "[EMAIL PROTECTED]";
> > > >
> > > >     // Get system properties
> > > >     Properties props = System.getProperties();
> > > >
> > > >     // Setup mail server
> > > >     props.put("mail.smtp.host", smtpHost);
> > > >
> > > >     // Get session
> > > >     Session session = Session.getDefaultInstance(props, null);
> > > >
> > > >     // Define message
> > > >     MimeMessage message = new MimeMessage(session);
> > > >     message.setFrom(new InternetAddress(from));
> > > >     message.addRecipient(Message.RecipientType.TO, new
> > > > InternetAddress(to));
> > > >     message.setSubject("Hello, Friend");
> > > >     message.setText("Test mail");
> > > >
> > > >     // Send message
> > > >     Transport.send(message);
> > > >   }
> > > > }
> > > >
> > > >
> > > > Best regards,
> > > > Yuriy
> > > >
> > > >
> >
> __________________________________________________________________________
> > > > _
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the
> > > > body
> > > > of the message "signoff SERVLET-INTEREST".
> > > >
> > > > Archives:
> http://archives.java.sun.com/archives/servlet-interest.html
> > > > Resources:
> > http://java.sun.com/products/servlet/external-resources.html
> > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > > >
> > >
> >
> >_________________________________________________________________________
> > __
> > >To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > >of the message "signoff SERVLET-INTEREST".
> > >
> > >Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > >Resources: http://java.sun.com/products/servlet/external-resources.html
> > >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> >
> __________________________________________________________________________
> > _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
> 
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
> 
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> 
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
> 
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> 

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to