Solved

Applet to mail(again!)

Posted on 1997-07-08
1
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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 tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

695 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