473,385 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

e-mail with VS.C# 2005 Beta 2

First of all does anyone know if the e-mail client in beta 2 works with SSL
and or what I did wrong below? Changing to the correct user name and
password works with outlook.

try
{
System.Net.Mail.MailMessage mm = new
System.Net.Mail.MailMessage("my****@gmail.com", "my****@gmail.com");
mm.Subject = "V2.0 test";
mm.BodyEncoding = Encoding.ASCII;
mm.Body = "Test of the V2.0 e-mail with g-mail";
System.Net.Mail.SmtpClient client = new
System.Net.Mail.SmtpClient("smtp.gmail.com", 587);
client.Credentials = new
System.Net.NetworkCredential("my****@gmail.com", "Password");
client.EnableSsl = true;
client.UseDefaultCredentials = false;
client.Send(mm);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

error message:

---------------------------

---------------------------
The SMTP server requires a secure connection or the client was not
authenticated. The server response was: 5.7.0 Authentication Required
28sm23446wrl
---------------------------
OK
---------------------------
Nov 17 '05 #1
3 1434
Seems I need to add a X509Certificate? Is there a basic one stored on the
computer, I know I never gave outlook one unless it's using its own
internally.

Any suggestions?

Regards,
John
Nov 17 '05 #2
Were you ever able to resolve this issue? I'm having the same problem.

JMH.
Nov 17 '05 #3
No I was not and had to uninstall the beta version for other reasons. I
might be better in the RC version but I can't download it so don't know. My
impression is you have to purchase a certificate that you know the correct
setting for but this is just a guess.

Regards,
John
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Dave Raskin | last post by:
Does anyone have a decent idea of when Visual Studio 2005 Beta 2 comes out?
3
by: Mike P | last post by:
I've been using Visual Studio 2005 Beta 1 for the last few weeks, and I now want to try using SQL Server 2005 Beta with it. I've been to the Microsoft URL...
3
by: Benjamin.Nitschke | last post by:
Today I installed Microsoft Visual Studio 2005 Beta 2 from the Visual Studio Beta Experience Kit. After installing (which takes way to long) when I open Visual Studio 2005 I only get a message box...
5
by: WRH | last post by:
Hello I have VS 2003 and would like to try the 2005 beta. Can someone tell me...any conflicts if installed with 2003? Is there any expiry date or other restrictions on the 2005 beta?
5
by: Adriano Coser | last post by:
Hello. I've just finished the compilation of my application with VC 2005 Beta 2 (Express edition) and I'm getting the following initialization error loading one of my DLLs: LDR:...
3
by: Bruno Alexandre | last post by:
I guys, I downloaded the new Visual Web Developer 2005 beta 2 and then I restarted the PC, open the program and build a hello world aspx page with just a label. When I press Ctrl + F5 it open...
1
by: Bob | last post by:
Trying to use VBisual web developer express 2005 beta 2. Dragged an accessdatasource to the blank web page. Started to configure. Entered location of an access database. On next page, clicked...
2
by: Christian Perthen | last post by:
Hi, I just replaced .NET framework 2.0 over .NET framework 2.0 beta and suddenly my VS 2005 beta doesn't work anymore. Anyone else experienced the same issue. Thanks Christian
5
by: Lars Netzel | last post by:
I have gotten the VS.NET 2005 Beta version in the MSDN package... It seems like FrameWork 2.0 is also required for that... Is there any problems installning this on the same system as a VS.NET...
2
by: vbmark | last post by:
I get the following message box: Visual Basic 2005 Express Edition Beta 2- ENU Setup =================================================== Setup has detected that previous versions of the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.