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
Printable View
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
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.
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
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.