Solved

Applet to mail(again!)

Posted on 1997-07-08
1
185 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

739 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