The type or namespace name 'SmtpClient' could not be found (are you missing a using directive or an assembly reference?) [Resolved]

Posted by Rajujrk under ASP.NET on 2/27/2010 | Views : 9181 | Status : [Member] | Replies : 2
Hai all,

The type or namespace name 'SmtpClient' could not be found (are you missing a using directive or an assembly reference?)

Thanks & Regards

Rajkumar J



Responses

Posted by: Rajujrk on: 2/27/2010 [Member] Starter

Up
0
Down

Resolved
Ya I found the mistake i made..

Now it executes..



Thanks & Regards

Rajkumar J

Rajujrk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhi2434 on: 2/27/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Ha ha .... Resolved yourself.

I think you are missing

using System.Net.Mail;

in the header.

Cheers

www.abhisheksur.com

Rajujrk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response