Results 1 to 4 of 4
  1. #1
    juhiswt is offline Member
    Join Date
    Mar 2011
    Posts
    30
    Rep Power
    0

    Default Plz give me the code of following simple problem..

    Write a program that reads email address from user and check whether email address is valid or not and separate out email id from email server name.
    If input is abc@xyz.com Output:
    It is valid address
    Email id: abc
    Email server address: xyz.com

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

    Default

    This is a forum, so on what you've stuck with? I don't think anyone here wants to write code for you. Show us your effort, then only we can help you out.

  3. #3
    juhiswt is offline Member
    Join Date
    Mar 2011
    Posts
    30
    Rep Power
    0

    Default @Eranga

    Thank u Eranga for the advice...Even I dont want this but i have no idea plz help me out if u can.....I m just a beginner

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

    Default

    Ok, the logic is something like this. If you know the id and the mail server you can sent a mail request to the email server and check it's exist or not. Mail servers has different responses based on your request.

Similar Threads

  1. pleae give me a code
    By Quezza in forum New To Java
    Replies: 3
    Last Post: 01-07-2011, 02:59 AM
  2. Problem with simple code in Java ME SDK 3.0
    By marvas in forum CLDC and MIDP
    Replies: 0
    Last Post: 10-13-2010, 07:58 PM
  3. Replies: 0
    Last Post: 02-24-2009, 03:40 PM
  4. simple problem - code wont compile
    By dirtycash in forum New To Java
    Replies: 1
    Last Post: 11-20-2007, 06:49 PM
  5. problem with a simple java code
    By boy22 in forum New To Java
    Replies: 2
    Last Post: 08-03-2007, 03:46 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
  •