Results 1 to 4 of 4
  1. #1
    venkatkomalli is offline Member
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    0

    Default This is Regarding JSP with javamail

    Hi,

    I am using javamail api in my project. So, for this i wrote one method with some return value. i am calling that method in jsp page at clicking on esclate button in page.

    So, the flow is just like this:

    search page

    getting some values with one no.

    If i click this no it will go to some other jsp with mail format like tomail, ccmail ,frommail. If i click on esclate button, the control will goto same previous page with some message.

    Please provide me suggestions.

  2. #2
    paty is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default

    I don't understand exactly what you want, can you give me more details or code?
    thanks

  3. #3
    venkatkomalli is offline Member
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    0

    Default Regarding JSP with Javamail

    Actually,

    in my application, i need to send a mail while i click "Escalate" button.For this i wrote java mail class ie EmailUtil.java to implement sendMessage() method.
    I will call this method in one jsp called wrEscCan.jsp.


    Simply flow is like this:

    wrStatusFind.jsp(In this we will give wr(workrequest no))

    wrStatus.jsp(getting all the related values to wr)

    wrEscCan.jsp (to escalate a mail to TO,CC,FROM text boxes just like our yahoo mail )

    After click on Escalate button in wrEscCan.jsp, it should to goto wrStatus.jsp(getting all the related values to wr) i.e. previous page with success message or failure message as well as send a mail.


    Please give me some suggestion along with code.
    Thx a in advance.

  4. #4
    shameel is offline Member
    Join Date
    Jul 2007
    Posts
    9
    Rep Power
    0

    Default

    I think through the servlet you can do it easily...

    From ur Escalate button the controle will go to servlet.then u collect values which u want, then redirect to wrStatus.jsp..

    hope this help u..
    thanks.

Similar Threads

  1. Javamail
    By v_mallikarjun in forum Advanced Java
    Replies: 14
    Last Post: 04-18-2008, 07:32 PM
  2. Using JavaMail API
    By consult4u in forum Networking
    Replies: 0
    Last Post: 08-09-2007, 10:15 AM
  3. Sending mail Using JAVAMAIL
    By peiceonly in forum Advanced Java
    Replies: 3
    Last Post: 07-19-2007, 02:11 PM
  4. 530 5.7.0 Authentication Required - JavaMail gmail
    By simon in forum Advanced Java
    Replies: 1
    Last Post: 07-14-2007, 11:52 PM
  5. JavaMail:Authentication required error
    By bbq in forum Advanced Java
    Replies: 1
    Last Post: 07-05-2007, 04:16 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
  •