VS.NET 2010 (and above) Users Click Here   

HOMECONTACT PRODUCTS DOWNLOADS PURCHASE TESTIMONIALS FORUMS COMPANY CONTACT
Home
Products
Downloads
Purchase
Licensing
Licensing FAQ
Software Updates
Support Forums
Testimonials
Feature Requests
Guarantee
About Us
Contact Us
Hosting Companies
Privacy Policy
   
Shopping Cart


aspNetEmail forum



[ Reply to Post ] [ Back To Forum ]
From: "dave wanta" <dave@...>
Date: 5/23/2006 5:15:22 AM
Subject: RE: Using SSL
Hi,
Try changing your code to port 587. I just tested it here, and it works.

Here's the code I used:

EmailMessage m = new EmailMessage( "smtp.gmail.com" );
m.Username = "test@gmail.com";
m.Password = "test";

//create the ssl socket
AdvancedIntellect.Ssl.SslSocket ssl = new AdvancedIntellect.Ssl.SslSocket();
m.LoadSslSocket( ssl );

//logging on the ssl socket
ssl.Logging = true;
ssl.LogPath = "c:\\ssl.log";


//rest of aspNetEmail properties
m.Port = 587;
m.To = "test@123aspx.com";
m.FromAddress = "test@gmail.com";
m.Subject = "test";
m.Body = "test";
m.Logging = true;
m.LogPath = "c:\\email.log";
m.Send();



Cheers!
Dave

 

 

 



Thread View

Subject By Date
Using SSL Murtaza 5/22/2006
   RE: Using SSL dave wanta 5/22/2006
     RE: Using SSL Murtaza 5/23/2006
       RE: Using SSL [ you are here ] dave wanta 5/23/2006
         RE: Using SSL Murtaza 5/23/2006

 

 

Testimonial

I just want to commend you on the work you have put toward the aspNetMail and the RapidMailer application. INCREDIBLE! I am speechless man. Excellent! "

David Gottlieb Co-Author - ASP.NET 1.1 Developers Cookbook

Read more testimonials
ListNanny aspNetDNS aspNetEmail aspNetPOP3 aspNetMX IPMuncher aspNetMIME aspNetPING aspNetTraceRoute aspNetIMAP aspNetMHT