I agree with emmanuel.

Guys, Please unsubscribe if you are going on leave or you are terminating
the email id.
Its irritating to get OUT OF OFFICE reply from you.

Cheers.
L G Goundalkar


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Emmanuel Eze
Sent: Tuesday, August 20, 2002 1:03 PM
To: [EMAIL PROTECTED]
Subject: Re: JavaMail


why don't u use JavaMail API?

-----Original Message-----
From: Jan Aren� [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 10:07 AM
To: [EMAIL PROTECTED]
Subject: JavaMail


Hi

I have a function that sends a JavaMail.

(import sun.net.smtp.SmtpClient;)

       SmtpClient client = new SmtpClient(mailServer);
       client.from(from);
       client.to(to);
       PrintStream message = client.startMessage();
       message.println("To: " + to);
       message.println("Subject: " + subject);
       message.println(mymessage);
       message.println();
       message.println();
       client.closeServer();

But since I am suppost to use our SmtpServer and out clients mailadress,
this is a problem. My SMTPserver don't allow anyone to use it to send a
email, only the ones that have an account.
What I want to do is to either fix so I can email from the right email OR
add an replyadress. How do I do any of this?

// Jan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to