Click here to Skip to main content
15,898,035 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionusing password recovery the forgot password is sent to given email id Pin
grkrishna3-Apr-09 22:40
grkrishna3-Apr-09 22:40 
AnswerRe: using password recovery the forgot password is sent to given email id Pin
Christian Graus3-Apr-09 23:10
protectorChristian Graus3-Apr-09 23:10 
QuestionAjax and ultrawebgrid Pin
Zeyad Jalil3-Apr-09 21:11
professionalZeyad Jalil3-Apr-09 21:11 
AnswerRe: Ajax and ultrawebgrid Pin
Christian Graus3-Apr-09 23:10
protectorChristian Graus3-Apr-09 23:10 
AnswerRe: Ajax and ultrawebgrid Pin
Sathesh Sakthivel4-Apr-09 1:19
Sathesh Sakthivel4-Apr-09 1:19 
QuestionAbout sending UDP packets in vb6 Pin
Renuka Deshpande3-Apr-09 20:12
Renuka Deshpande3-Apr-09 20:12 
AnswerRe: About sending UDP packets in vb6 Pin
Christian Graus3-Apr-09 23:14
protectorChristian Graus3-Apr-09 23:14 
Questionpassword is sending to th some particular mail using password recovery control Pin
grkrishna3-Apr-09 19:45
grkrishna3-Apr-09 19:45 
bellow my code

protected void PasswordRecovery1_SendingMail(object sender, MailMessageEventArgs e)
{
//PasswordRecovery1.Visible = true;
string email = PasswordRecovery1.UserNameLabelText.ToString();
MailMessage message = new MailMessage();
SmtpClient smtpClient = new SmtpClient();
string cclist;
string msg = string.Empty;
try
{
MailAddress fromAddress = new MailAddress();
message.From =new MailAddress("info@server.com");
message.To.Add(new MailAddress("to adress"));
if (cclist != null && cclist != string.Empty)
message.CC.Add(cclist);
message.Subject = subject;
message.IsBodyHtml = true;

message.Body = body;
smtpClient.Host = "mail.server.com";
smtpClient.Port = 25;
smtpClient.UseDefaultCredentials = true;
smtpClient.Credentials = new System.Net.NetworkCredential("info@server.com", "password");
smtpClient.Send(message);
msg = "sucessfully";
}
catch (Exception e)
{
msg = e.Message;
}
return msg;
}

the errror message is
No overload for method 'MailAddress' takes '0' arguments
AnswerRe: password is sending to th some particular mail using password recovery control Pin
www.Developerof.NET3-Apr-09 20:00
www.Developerof.NET3-Apr-09 20:00 
AnswerRe: password is sending to th some particular mail using password recovery control Pin
Christian Graus3-Apr-09 23:11
protectorChristian Graus3-Apr-09 23:11 
QuestionNeed a small Help. [modified] Pin
Nanda_MR3-Apr-09 19:29
Nanda_MR3-Apr-09 19:29 
AnswerRe: Need a small Help. Pin
Christian Graus3-Apr-09 23:12
protectorChristian Graus3-Apr-09 23:12 
QuestionTyped DataSet Issue... Pin
Illegal Operation3-Apr-09 12:18
Illegal Operation3-Apr-09 12:18 
QuestionHow to create a nice Order page? Pin
Dirso3-Apr-09 10:06
Dirso3-Apr-09 10:06 
AnswerRe: How to create a nice Order page? Pin
Yusuf3-Apr-09 11:35
Yusuf3-Apr-09 11:35 
Questionhow can i able to obtain the file size of uploaded file Pin
Alok Sharma ji3-Apr-09 7:04
Alok Sharma ji3-Apr-09 7:04 
AnswerRe: how can i able to obtain the file size of uploaded file Pin
ToddHileHoffer3-Apr-09 7:14
ToddHileHoffer3-Apr-09 7:14 
Questionhaving problem on sending html expression Pin
Alok Sharma ji3-Apr-09 6:44
Alok Sharma ji3-Apr-09 6:44 
AnswerRe: having problem on sending html expression Pin
ToddHileHoffer3-Apr-09 7:12
ToddHileHoffer3-Apr-09 7:12 
GeneralRe: having problem on sending html expression Pin
Alok Sharma ji3-Apr-09 7:23
Alok Sharma ji3-Apr-09 7:23 
GeneralRe: having problem on sending html expression Pin
ToddHileHoffer3-Apr-09 7:26
ToddHileHoffer3-Apr-09 7:26 
GeneralRe: having problem on sending html expression Pin
Alok Sharma ji3-Apr-09 7:26
Alok Sharma ji3-Apr-09 7:26 
GeneralRe: having problem on sending html expression Pin
fred_3-Apr-09 9:21
fred_3-Apr-09 9:21 
GeneralRe: having problem on sending html expression Pin
www.Developerof.NET3-Apr-09 19:53
www.Developerof.NET3-Apr-09 19:53 
QuestionURL Rewriting Regular Expression Pin
CandyMe3-Apr-09 5:23
CandyMe3-Apr-09 5:23 

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.