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


 MAILING LIST
Join our mailing list to be notified of updates.

You can always unsubscribe from our mailing list here.
aspNetEmail



[ 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

Works Great! Thanks again for the great product and great support! "

JN

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

This site's email addresses are protected with EmailSpoofer.NET.