Click here to Skip to main content
15,913,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: prevent created file from deleting Pin
KioskKenn4-Nov-08 6:57
KioskKenn4-Nov-08 6:57 
GeneralRe: prevent created file from deleting Pin
Pete O'Hanlon4-Nov-08 9:23
mvePete O'Hanlon4-Nov-08 9:23 
GeneralRe: prevent created file from deleting Pin
Colin Angus Mackay4-Nov-08 10:03
Colin Angus Mackay4-Nov-08 10:03 
GeneralRe: prevent created file from deleting Pin
jas0n236-Nov-08 17:28
jas0n236-Nov-08 17:28 
QuestionC# Enterprise Projects - Practical examples Pin
mosselman4-Nov-08 5:02
mosselman4-Nov-08 5:02 
AnswerRe: C# Enterprise Projects - Practical examples Pin
Ennis Ray Lynch, Jr.4-Nov-08 5:45
Ennis Ray Lynch, Jr.4-Nov-08 5:45 
AnswerRe: C# Enterprise Projects - Practical examples Pin
Meer Osman Ali4-Nov-08 5:50
Meer Osman Ali4-Nov-08 5:50 
QuestionReg:email domain Verification Pin
swethasri4-Nov-08 4:07
swethasri4-Nov-08 4:07 
Hi all,
I want to check the email address against SMTP domain verification. I have used the following code.but it's not getting the response from the domains gmail.com,yahoo.com,google .com. so it shows that domain is not valid.


try
{
string[] host = (textBox1.Text.Trim().Split('@'));
string hostname = host[1];

IPHostEntry IPhst = Dns.GetHostByName (hostname);
IPEndPoint endPt = new IPEndPoint(IPhst.AddressList[0], 25);
Socket s = new Socket(endPt.AddressFamily,
SocketType.Stream, ProtocolType.Tcp);
s.Connect(endPt);
MessageBox.Show("Exists");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message.ToString ());
}


Can anyone tell me the solution for this.

Thanks in advance
swethasri
AnswerRe: Reg:email domain Verification Pin
Ennis Ray Lynch, Jr.4-Nov-08 4:20
Ennis Ray Lynch, Jr.4-Nov-08 4:20 
GeneralRe: Reg:email domain Verification Pin
swethasri4-Nov-08 5:17
swethasri4-Nov-08 5:17 
AnswerRe: Reg:email domain Verification Pin
Guffa4-Nov-08 12:36
Guffa4-Nov-08 12:36 
QuestionString implementation in .NET Framework Pin
J4amieC4-Nov-08 3:38
J4amieC4-Nov-08 3:38 
AnswerRe: String implementation in .NET Framework Pin
Ennis Ray Lynch, Jr.4-Nov-08 4:06
Ennis Ray Lynch, Jr.4-Nov-08 4:06 
GeneralRe: String implementation in .NET Framework Pin
J4amieC4-Nov-08 4:12
J4amieC4-Nov-08 4:12 
GeneralRe: String implementation in .NET Framework Pin
Ennis Ray Lynch, Jr.4-Nov-08 4:18
Ennis Ray Lynch, Jr.4-Nov-08 4:18 
GeneralRe: String implementation in .NET Framework Pin
J4amieC4-Nov-08 5:25
J4amieC4-Nov-08 5:25 
GeneralRe: String implementation in .NET Framework Pin
DaveyM694-Nov-08 4:32
professionalDaveyM694-Nov-08 4:32 
GeneralRe: String implementation in .NET Framework Pin
J4amieC4-Nov-08 5:26
J4amieC4-Nov-08 5:26 
GeneralRe: String implementation in .NET Framework Pin
DaveyM694-Nov-08 5:32
professionalDaveyM694-Nov-08 5:32 
AnswerRe: String implementation in .NET Framework Pin
PIEBALDconsult4-Nov-08 4:34
mvePIEBALDconsult4-Nov-08 4:34 
GeneralRe: String implementation in .NET Framework Pin
J4amieC4-Nov-08 5:28
J4amieC4-Nov-08 5:28 
QuestionHow to create my own button [usercontrol? or what?] Pin
Matjaz-xyz4-Nov-08 2:34
Matjaz-xyz4-Nov-08 2:34 
AnswerRe: How to create my own button [usercontrol? or what?] Pin
cyber-drugs4-Nov-08 3:34
cyber-drugs4-Nov-08 3:34 
GeneralRe: How to create my own button [usercontrol? or what?] Pin
Matjaz-xyz4-Nov-08 3:41
Matjaz-xyz4-Nov-08 3:41 
GeneralRe: How to create my own button [usercontrol? or what?] Pin
cyber-drugs4-Nov-08 3:54
cyber-drugs4-Nov-08 3:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.