java applet for form to mail problem


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: java applet for form to mail problem

  1. #1
    Join Date
    Aug 2003
    Posts
    4

    java applet for form to mail problem

    Hi,
    I am a complete newbie to java, but would like to make an applet version of the "while you were out" phone message pads -- the kind where you can put in the caller's name, number, check a few boxes to show whether he/she will call again etc, and then e-mail it to whoever missed the call. I want to use the mailto command since I want to send the actual formatted e-mail through the sender's e-mail program, and I want it to be basically client-side as much as possible (I know that asp101.com has a similar code, but that would mean putting an asp code on the server) . Can anyonw tell me how to do this -- or better still, direct me to any code that does this kind of thing?
    Many thanks,
    Munna

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    Things to think about:

    * Unless signed, applets do not have access to the host machine (meaning they cannot run commands).
    * Running native commands (mailto) on a host machine is not a good idea as it makes the code platform-dependent.
    * The Swing API will allow you to create a graphical application rather than an applet.
    * The JavaMail API can be used to send e-mails.
    ArchAngel.
    O:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center