Solved

Applet to mail(again!)

Posted on 1997-07-08
1
182 Views
Last Modified: 2010-04-16
I've seen it asked here and numerous other places on "how to mail from my applet?".  I've followed the examples given and they all bomb with a security exception.  I contacted earthlink.net (my server) for a proper host name and got 3 different answers and each bombed.  They now consider these questions to be in the field of "teaching or advising" a user and no longer want to answer.
ANYBODY out there actually mail from an applet using Netscape through earthlink.net?
0
Comment
Question by:noviceprogrammer
1 Comment
 
LVL 1

Accepted Solution

by:
mann061997 earned 100 total points
ID: 1222785
An applet is restricted in what it can do - in particular it can only open net connections to the server it originated from. It can't send mail to any other servers. Trying this causes security exceptions.
Options:
1. the applet communicates with a program on the server (servlet,
CGI) which then does the actual mailing
2. use a signed applet
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This video teaches viewers about errors in exception handling.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question