Click here to Skip to main content
16,005,339 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: datagrid Pin
abglorie19-Sep-07 20:21
abglorie19-Sep-07 20:21 
GeneralRe: datagrid Pin
jai 12319-Sep-07 20:29
jai 12319-Sep-07 20:29 
AnswerRe: datagrid Pin
m v ramana19-Sep-07 20:57
m v ramana19-Sep-07 20:57 
QuestionEmail in ASP.NET Pin
.NET- India 19-Sep-07 19:17
.NET- India 19-Sep-07 19:17 
AnswerRe: Email in ASP.NET Pin
Imran Khan Pathan19-Sep-07 19:24
Imran Khan Pathan19-Sep-07 19:24 
AnswerRe: Email in ASP.NET Pin
rahul.net1119-Sep-07 20:20
rahul.net1119-Sep-07 20:20 
GeneralRe: Email in ASP.NET Pin
.NET- India 19-Sep-07 20:22
.NET- India 19-Sep-07 20:22 
GeneralRe: Email in ASP.NET Pin
rahul.net1119-Sep-07 20:31
rahul.net1119-Sep-07 20:31 
This is a network related error. Your application cannot connect to the mail server specified.
SmtpMail.SmtpServer
1)Is a valid SMTP Server

2)Check to be sure the server System.Web.Mail is executing on can connect to the mail server. Some times firewalls or proxy servers can get in the way.

3)Try specifying the value by IP address. Poor DNS resolution can sometimes hinder name lookups.

4)Make sure the that the mail server is running at port 25.

5)If you did not specify a SmtpMail.SmtpServer property, or if SmtpMail.SmtpServer points to "localhost" (or the equivalent), be sure the SMTP Service is running on port 25.

For testing purposes change the MailMessage.From and MailMessage.To properties to an address that exists on SmtpMail.SmtpServer. Some times this exception is thrown, when it really is a relay issue.

also try this
SmtpMail.SmtpServer.Insert( 0, "127.0.0.1 or your mail server name here")
Also make sure Anonymous access is allowd.



Rahul

QuestionI want command line converter from any format to WMV format Pin
Tarun Dudhatra19-Sep-07 19:04
Tarun Dudhatra19-Sep-07 19:04 
QuestionProblem in Displaying Image after Saving it using the FIleUpload Control. Pin
N a r e s h P a t e l19-Sep-07 18:33
N a r e s h P a t e l19-Sep-07 18:33 
AnswerRe: Problem in Displaying Image after Saving it using the FIleUpload Control. Pin
Christian Graus19-Sep-07 18:47
protectorChristian Graus19-Sep-07 18:47 
QuestionUsing Com dll in ASP.NET gives Security error Pin
Chetan Patel19-Sep-07 18:10
Chetan Patel19-Sep-07 18:10 
AnswerRe: Using Com dll in ASP.NET gives Security error Pin
Christian Graus19-Sep-07 18:42
protectorChristian Graus19-Sep-07 18:42 
QuestionValidating text box Pin
seemamltn19-Sep-07 16:21
seemamltn19-Sep-07 16:21 
AnswerRe: Validating text box Pin
Christian Graus19-Sep-07 17:01
protectorChristian Graus19-Sep-07 17:01 
AnswerRe: Validating text box Pin
Imran Khan Pathan19-Sep-07 18:23
Imran Khan Pathan19-Sep-07 18:23 
QuestionPaging in DataList Pin
lastFarhi19-Sep-07 14:10
lastFarhi19-Sep-07 14:10 
AnswerRe: Paging in DataList [modified] Pin
ASPnoob19-Sep-07 15:43
ASPnoob19-Sep-07 15:43 
AnswerRe: Paging in DataList Pin
Sathesh Sakthivel19-Sep-07 18:48
Sathesh Sakthivel19-Sep-07 18:48 
QuestionValidating Checkbox Pin
seemamltn19-Sep-07 11:03
seemamltn19-Sep-07 11:03 
AnswerRe: Validating Checkbox Pin
Imran Khan Pathan19-Sep-07 18:31
Imran Khan Pathan19-Sep-07 18:31 
AnswerRe: Validating Checkbox Pin
Sherin Iranimose19-Sep-07 18:55
Sherin Iranimose19-Sep-07 18:55 
QuestionCounting characters from Word Files Pin
sunil.tehalani19-Sep-07 10:12
sunil.tehalani19-Sep-07 10:12 
AnswerRe: Counting characters from Word Files Pin
Tarun Dudhatra19-Sep-07 19:11
Tarun Dudhatra19-Sep-07 19:11 
QuestionValidating Check Boxes Pin
seemamltn19-Sep-07 8:55
seemamltn19-Sep-07 8:55 

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.