I have a desktop app which works perfectly in Windows, but fails on MAC OSX.
My app tests for a valid SMTP connection, then sends an email via my Gmail account.
The following code works fine on any Windows build:-
[code] // Establishes a test connection
ProgressBarSMTP.Maximum = 0
ProgressBarSMTP.Visible = True
Dim mySMTP As new SMTPSecureSocket
//Dim test As new EmailMessage
If chkSSL.Value = True Then
mySMTP.Secure = true
Else
mySMTP.Secure = False
End If
Further to the above, the MacBook that I am testing the build on, is running 10.8 Mountain Lion.
I can confirm that the Mac’s own Mail app is working, and I am able to send emails via my Gmail account by SMTP.
So really cannot figure out why my Xojo built app cannot connect with the gmail server??
Carsten Belling you are my savior!!! Thanks so much for your advice. This tip WORKS
I had tried various Connection Types, and various ports - all failed on mac, but worked on Windows. I had not considered the timing issue.
Problem FIXED
I’m soooo happy - spent hours trying to figure this out…