The Artima Developer Community
Sponsored Link

Java Answers Forum
SMTP and APPLETS

1 reply on 1 page. Most recent reply: Jun 30, 2002 9:25 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Alireza Aghasi

Posts: 5
Nickname: bluesky
Registered: Apr, 2002

SMTP and APPLETS Posted: Jun 29, 2002 2:05 PM
Reply to this message Reply
Advertisement
Hi every one:
It will be kind of you if you can help me with this problem:
I have prepared an applet that can send Emails , it gets the recipients and sends a mail to them , this applet works in my editor which is codeguide3.0 , and sends the mails through a specific SMTP server (in this case : 213.29.206.2) , note that this is not my computer IP , and its just a server , but when I run the applet in my browser ( IE 6.0) it runs the applet but doesn't send the mails , it just shows the interface and when I click the send button , it seems that it has sent the mail but it doesn't actually ...
where is the problem , can you help me ?
the way I use the applet in my browser is making an html file and put my applet in its directory and write the applet tag and its required parameters , and run the html file , it shows the textfields and does all the actions but doesn't send the mail .
it will be really kind of you if you can help me :)
thank you so much ...
sincerely yours : Ali


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: SMTP and APPLETS Posted: Jun 30, 2002 9:25 PM
Reply to this message Reply
I think this is a security violation for an applet -- your editor is either running it as an application or with looser security restrictions on applets than the browser will have. I think you can configure your browser's security to allow this sort of potentially dangerous behavior, but if you want this applet to work from some web page for any browswer that happens along, you may be out of luck. However, you could look into making it a signed applet, an application or using something like Java WebStart. Also, maybe this works if the SMTP server is the same as the one where the applet is running (I haven't tried this, it is just a guess based on how file access works for applets).

Flat View: This topic has 1 reply on 1 page
Topic: problem in apahce java.exe Previous Topic   Next Topic Topic: Help with applet based on Mastermind game.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use