Click here to Skip to main content
16,011,647 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to cast HTTTPpostedFile in asp.net Pin
Chetan Ranpariya12-Apr-07 23:57
Chetan Ranpariya12-Apr-07 23:57 
AnswerRe: How to cast HTTTPpostedFile in asp.net Pin
Vasudevan Deepak Kumar13-Apr-07 6:43
Vasudevan Deepak Kumar13-Apr-07 6:43 
QuestionDownloading a cab file without any chenge in content or size.. Pin
Nicejith12-Apr-07 21:10
Nicejith12-Apr-07 21:10 
AnswerRe: Downloading a cab file without any chenge in content or size.. Pin
lucjon12-Apr-07 23:21
lucjon12-Apr-07 23:21 
GeneralRe: Downloading a cab file without any chenge in content or size.. Pin
Nicejith13-Apr-07 1:36
Nicejith13-Apr-07 1:36 
QuestionASP.NET Ajax v1.0 Pin
DGtech12-Apr-07 20:55
DGtech12-Apr-07 20:55 
AnswerRe: ASP.NET Ajax v1.0 Pin
lucjon12-Apr-07 22:35
lucjon12-Apr-07 22:35 
Questionerror in sending email Pin
Sebastian T Xavier12-Apr-07 20:43
Sebastian T Xavier12-Apr-07 20:43 
I had a problem in sending email from asp.net 2.0.
The code which i have used for sending email follows..

First i have imported some namespaces
<br />
using System.Net;<br />
using System.Net.Mail;<br />



after, in a button click event i have written like this
<br />
        string toaddr;<br />
        toaddr = "stxvechoor@rediffmail.com";<br />
        MailMessage message = new MailMessage();<br />
        message.From = new MailAddress("sebastian@atenindia.com");<br />
        message.To.Add(new MailAddress(toaddr));<br />
        message.CC.Add(new MailAddress("stxvechoor@rediffmail.com"));<br />
        message.Priority = MailPriority.High;<br />
        message.Subject = "hai";<br />
        message.Body = "Test Mail";<br />
        SmtpClient client = new SmtpClient();<br />
        client.Port = 2095;<br />
        client.Host = "mail.ateninc.com";<br />
        client.Send(message);<br />


But it showed some error..
Can anyone help me.....

I will be thankful to you...

Sebastian
AnswerRe: error in sending email Pin
Chetan Ranpariya12-Apr-07 20:54
Chetan Ranpariya12-Apr-07 20:54 
GeneralRe: error in sending email Pin
Sebastian T Xavier12-Apr-07 21:07
Sebastian T Xavier12-Apr-07 21:07 
QuestionHow to insert one datagrid in another datagrid Pin
Sophia Rekhi12-Apr-07 20:08
Sophia Rekhi12-Apr-07 20:08 
AnswerRe: How to insert one datagrid in another datagrid Pin
thomasa13-Apr-07 1:03
thomasa13-Apr-07 1:03 
QuestionPlease Help Me Soon Pin
Mkanchha12-Apr-07 19:10
Mkanchha12-Apr-07 19:10 
AnswerRe: Please Help Me Soon Pin
JustChiragPatel12-Apr-07 20:08
JustChiragPatel12-Apr-07 20:08 
GeneralRe: Please Help Me Soon Pin
Mkanchha12-Apr-07 20:20
Mkanchha12-Apr-07 20:20 
AnswerRe: Please Help Me Soon Pin
Chetan Ranpariya12-Apr-07 20:31
Chetan Ranpariya12-Apr-07 20:31 
GeneralRe: Please Help Me Soon Pin
Mkanchha12-Apr-07 20:38
Mkanchha12-Apr-07 20:38 
GeneralRe: Please Help Me Soon Pin
Mkanchha12-Apr-07 21:13
Mkanchha12-Apr-07 21:13 
GeneralRe: Please Help Me Soon Pin
Chetan Ranpariya12-Apr-07 22:42
Chetan Ranpariya12-Apr-07 22:42 
GeneralRe: Please Help Me Soon Pin
Mkanchha12-Apr-07 23:14
Mkanchha12-Apr-07 23:14 
JokeRe: Please Help Me Soon Pin
ednrgc13-Apr-07 5:10
ednrgc13-Apr-07 5:10 
Questionpopulating dropdownlist Pin
yuvachandra12-Apr-07 19:05
yuvachandra12-Apr-07 19:05 
AnswerRe: populating dropdownlist Pin
Sathesh Sakthivel12-Apr-07 19:12
Sathesh Sakthivel12-Apr-07 19:12 
GeneralRe: populating dropdownlist Pin
yuvachandra12-Apr-07 20:53
yuvachandra12-Apr-07 20:53 
GeneralRe: populating dropdownlist Pin
Sathesh Sakthivel12-Apr-07 21:04
Sathesh Sakthivel12-Apr-07 21:04 

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.