Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: email using jsp

  1. #1
    New Coder
    Join Date
    Dec 2010
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    email using jsp

    I would like to know if i am using a local mysql server and local website in my com.
    is there a way to email a feedback to myself like my gmail or hotmail for example?

    i tried research and they said need smtp..

    is there a way to resolve it?

  • #2
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,958
    Thanks
    120
    Thanked 76 Times in 76 Posts
    https://github.com/masukomi/aspirin

    this is java embeded mail server. Yuo just use it, don't have to deal with mail servr at all.
    Found a flower or bug and don't know what it is ?
    agrozoo.net galery
    if you don't spot search button at once, there is search form:
    agrozoo.net galery search

  • #3
    New Coder
    Join Date
    Jan 2011
    Location
    India
    Posts
    31
    Thanks
    0
    Thanked 4 Times in 4 Posts

    use java mail API

    You can use java mail api and use any of the public smtp providers like gmail, yahoo etc.

    If you need to have your own smtp, you need to setup one.

    Refer the below link about how to do it.

    http://www.mkyong.com/java/javamail-...-smtp-example/


  •  

    Posting Permissions

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