Click here to Skip to main content
15,896,154 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionThe server rejected one or more recipient addresses. The server response was: 501 5.5.4 Invalid Address Pin
Amit Spadez1-Dec-09 23:43
professionalAmit Spadez1-Dec-09 23:43 
AnswerRe: The server rejected one or more recipient addresses. The server response was: 501 5.5.4 Invalid Address Pin
Abhijit Jana1-Dec-09 23:47
professionalAbhijit Jana1-Dec-09 23:47 
GeneralRe: The server rejected one or more recipient addresses. The server response was: 501 5.5.4 Invalid Address Pin
Amit Spadez1-Dec-09 23:49
professionalAmit Spadez1-Dec-09 23:49 
GeneralRe: The server rejected one or more recipient addresses. The server response was: 501 5.5.4 Invalid Address Pin
Abhijit Jana2-Dec-09 0:01
professionalAbhijit Jana2-Dec-09 0:01 
GeneralRe: The server rejected one or more recipient addresses. The server response was: 501 5.5.4 Invalid Address Pin
Amit Spadez2-Dec-09 0:39
professionalAmit Spadez2-Dec-09 0:39 
QuestionHTTP 500 Internal Server Error Pin
Aman Bhullar1-Dec-09 23:29
Aman Bhullar1-Dec-09 23:29 
AnswerRe: HTTP 500 Internal Server Error Pin
Abhijit Jana1-Dec-09 23:34
professionalAbhijit Jana1-Dec-09 23:34 
GeneralRe: HTTP 500 Internal Server Error Pin
Amit Spadez1-Dec-09 23:50
professionalAmit Spadez1-Dec-09 23:50 
ok..I have taken one textbox in the form ..Coding is:
protected void btnSubmit_Click(object sender, EventArgs e)
{
string qry = "Server=.\\sqlexpress; Initial Catalog=dbLogin; Integrated Security=true";
SqlDataAdapter adp = new SqlDataAdapter("Select Email,(select password from tbLogin where UserName = 'Rahul') as password FROM Details WHERE UserName= 'Rahul'", qry);
DataSet ds = new DataSet();
adp.Fill(ds);


string mailQry = ds.Tables[0].Rows[0]["Email"].ToString();
string pwdQry = ds.Tables[0].Rows[0]["password"].ToString();
MailMessage mailObj = new MailMessage();
mailObj.To = "'" + mailQry + "'";
mailObj.From = "hradmin@ionsoftnet.com";
mailObj.Subject = "Your Password";
mailObj.Body = "'" + pwdQry + "' ";
SmtpMail.SmtpServer = "mail.ionsoftnet.com";
SmtpMail.Send(mailObj);
}

Note: My server address is absolutely right .
what could be the other problem?
GeneralRe: HTTP 500 Internal Server Error Pin
Abhijit Jana2-Dec-09 0:02
professionalAbhijit Jana2-Dec-09 0:02 
QuestionBack Button is not working in IE Popup Window Pin
sam#1-Dec-09 23:29
sam#1-Dec-09 23:29 
AnswerRe: Back Button is not working in IE Popup Window Pin
Dinesh Mani1-Dec-09 23:38
Dinesh Mani1-Dec-09 23:38 
GeneralRe: Back Button is not working in IE Popup Window Pin
sam#1-Dec-09 23:41
sam#1-Dec-09 23:41 
GeneralRe: Back Button is not working in IE Popup Window Pin
Dinesh Mani2-Dec-09 0:14
Dinesh Mani2-Dec-09 0:14 
GeneralRe: Back Button is not working in IE Popup Window Pin
sam#2-Dec-09 0:43
sam#2-Dec-09 0:43 
GeneralRe: Back Button is not working in IE Popup Window Pin
Dinesh Mani2-Dec-09 0:52
Dinesh Mani2-Dec-09 0:52 
GeneralRe: Back Button is not working in IE Popup Window Pin
sam#2-Dec-09 1:08
sam#2-Dec-09 1:08 
GeneralRe: Back Button is not working in IE Popup Window Pin
Dinesh Mani2-Dec-09 1:14
Dinesh Mani2-Dec-09 1:14 
GeneralRe: Back Button is not working in IE Popup Window Pin
sam#2-Dec-09 1:15
sam#2-Dec-09 1:15 
AnswerRe: Back Button is not working in IE Popup Window Pin
Abhishek Sur2-Dec-09 0:48
professionalAbhishek Sur2-Dec-09 0:48 
GeneralRe: Back Button is not working in IE Popup Window Pin
sam#2-Dec-09 1:09
sam#2-Dec-09 1:09 
GeneralRe: Back Button is not working in IE Popup Window Pin
Abhishek Sur2-Dec-09 2:01
professionalAbhishek Sur2-Dec-09 2:01 
GeneralRe: Back Button is not working in IE Popup Window Pin
sam#2-Dec-09 2:07
sam#2-Dec-09 2:07 
GeneralRe: Back Button is not working in IE Popup Window Pin
Abhishek Sur2-Dec-09 20:18
professionalAbhishek Sur2-Dec-09 20:18 
QuestionRecursively traversing in each directory Pin
Anil Kumar.Arvapalli1-Dec-09 22:55
Anil Kumar.Arvapalli1-Dec-09 22:55 
AnswerRe: Recursively traversing in each directory Pin
Abhijit Jana1-Dec-09 23:06
professionalAbhijit Jana1-Dec-09 23:06 

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.