Results 1 to 6 of 6
  1. #1
    suvojit168 is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    0

    Default How to make a contact form

    Hi all,
    I am making a website in which I need to add a contact us page. This page looks similar to other contact us form which you see on net. It has a subject, query and senders email id field. On clicking send button it should send that query to the owner of the site.The pages are built using html. And I prefer using servlet for this processing. A confirmation in form of dynamically generated page in servlet should show user name confirming th receipt of query.
    Now I know how to extract the values from the field but and I can generate the dynamic confirmation page but I want to know how can I send the query to owners inbox(just like normal email).
    Any kind of help is welcome. Also if some one can give me link to some useful learning matter for this that will be great.

    Thank You

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    So the problem is that you don't know how to send the email?
    Just google "Java mail API" and be done with it.

  3. #3
    suvojit168 is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    0

    Default

    thank you for quick reply :)...... i will check it now

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by suvojit168 View Post
    thank you for quick reply :)...... i will check it now
    Did you forget the Google earlier before post the question here? :D

  5. #5
    suvojit168 is offline Member
    Join Date
    Jul 2009
    Posts
    10
    Rep Power
    0

    Default

    I had no idea bout Java mail API b4 posting this....I googled, but only php results were appearing.....Thats why I decided to post it here....I hope I ws nt wrong, ws I???? :rolleyes:

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. To access hotmail contact list using java
    By bharat_kasodariya in forum Advanced Java
    Replies: 1
    Last Post: 02-26-2009, 03:06 PM
  2. Replies: 2
    Last Post: 11-21-2008, 09:36 PM
  3. can i make a login form?
    By mitsakos in forum New To Java
    Replies: 2
    Last Post: 12-19-2007, 11:14 PM
  4. how to contact servlet from clientside through ajax
    By santhoskumara in forum Advanced Java
    Replies: 2
    Last Post: 08-10-2007, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •