Advertisement

11.15.2007 at 02:40AM PST, ID: 22962462
[x]
Attachment Details

Problem sending SMTP mail form my smtp server using asp.net

Asked by mathieurci in .NET Framework 2.x, SendMail Email Server, Email Servers

Tags: , , ,

Problem sending SMTP mail form my smtp server using asp.net

Error Message:Command not implemented. The server response was: unimplemented (#5.5.1)

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
ASP.NET 2.0 Code:
 
string emailMessage = "Hi,\n\nHere is your new password  . \n\n";
 
emailMessage = emailMessage + "Email Address: " + email + " \n\n";
 
emailMessage = emailMessage + "Password: " + pass + " \n\n";
 
emailMessage = emailMessage + "Regards, \n\n";
 
emailMessage = emailMessage + "The IT Team \n\n";
 
SmtpClient newMail = new SmtpClient();
 
newMail.Host = ConfigurationManager.AppSettings["smtpServer"];
 
newMail.Port = 25;
 
newMail.Send(ConfigurationManager.AppSettings["emailFrom"], email, "Password Reset", emailMessage);
[+][-]11.15.2007 at 06:39AM PST, ID: 20289157

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET Framework 2.x, SendMail Email Server, Email Servers
Tags: smtp, server, using, mail
Sign Up Now!
Solution Provided By: CraigWagner
Participating Experts: 2
Solution Grade: A
 
 
[+][-]11.15.2007 at 07:21AM PST, ID: 20289494

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.15.2007 at 02:55AM PST, ID: 20476873

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628