Solved

Applet to mail(again!)

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Apps blocked by Java 9 88
java stored proc example 9 44
eclipse console opening separately 2 29
java mysql insert application 14 25
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

789 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