Results 1 to 5 of 5
  1. #1
    deepujava is offline Member
    Join Date
    Nov 2009
    Posts
    2
    Rep Power
    0

    Question How to get the smtp response to the gui frame

    hey sorry about the title.
    Iam new to java and so i have a problem in doing this assignment

    actually i created a gui which has fileds like to,from,cc,bcc,message area,response area and few buttons like send,restartand connect

    connect button the response is comming

    my problem is now when i send the information to the server i.e smtp server the response must come back to response area

    can u guys help me pls:confused::confused::)

  2. #2
    zweibieren is offline Senior Member
    Join Date
    Aug 2009
    Location
    Pittsburgh, PA
    Posts
    284
    Rep Power
    5

    Default

    What code did you use to send the message to SMTP?

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

    Default

    Display the information on user interface and back-end processing is two different things. You should send the smtp request in back end, may be on worker thread, and response should be capture there. Once the response is detected you can set the text into the relevant control in UI.

    Can you show us how you send the request and how you grab the response from there?

  4. #4
    arulmozs is offline Member
    Join Date
    Oct 2009
    Posts
    7
    Rep Power
    0

    Default what u want da

    r u want to send email da

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

Similar Threads

  1. Replies: 2
    Last Post: 08-24-2011, 04:32 PM
  2. Replies: 7
    Last Post: 11-02-2009, 06:31 PM
  3. sending email without SMTP?
    By java_srinivasan in forum Advanced Java
    Replies: 1
    Last Post: 07-23-2008, 03:45 PM
  4. A Client to Send SMTP Mail
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 08:06 PM
  5. Readind email from smtp server
    By pzkhan in forum Advanced Java
    Replies: 0
    Last Post: 02-10-2008, 07:57 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
  •