Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxyPreviewer weird behavior
Message
From
13/09/2019 12:27:30
 
 
To
13/09/2019 03:11:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01670810
Message ID:
01670828
Views:
60
Hello Gregory,

Here are the tests that I made with all the ports for SMTP2GO


Manual

* Not OK
.nSMTPPort = 25, .lSMTPUseSSL = .F.

* Not OK
.nSMTPPort = 25 .lSMTPUseSSL = .t.

* OK
.nSMTPPort = 80 .lSMTPUseSSL = .F.

* Not OK
.nSMTPPort = 80 .lSMTPUseSSL = .T.

* Not OK
.nSMTPPort = 465 .lSMTPUseSSL = .F.

* Ok
.nSMTPPort = 465 .lSMTPUseSSL = .T.

* OK
.nSMTPPort = 587 .lSMTPUseSSL = .F.

* Not OK
.nSMTPPort = 587 .lSMTPUseSSL = .T.

* Ok
.nSMTPPort = 2525 .lSMTPUseSSL = .f.

* Not OK
.nSMTPPort = 2525 .lSMTPUseSSL = .t.

* OK
.nSMTPPort = 8025 .lSMTPUseSSL = .F.

* Not OK
.nSMTPPort = 8025 .lSMTPUseSSL = .T.

* Not OK
.nSMTPPort = 8465 .lSMTPUseSSL = .F.

* OK
.nSMTPPort = 8465 .lSMTPUseSSL = .T.


You can see that sending manually I have been successfull with some ports


With GUI


* Not OK
SMTP Port = 25 SSL = .F.

* Not OK
SMTP Port = 25 SSL = .t.

* Not OK
SMTP Port = 80 SSL = .F.

* Not OK
SMTP Port = 80 SSL = .T.

* Not OK
SMTP Port = 465 SSL = .F.

* Not OK
SMTP Port = 465 SSL = .T.

* Not OK
SMTP Port = 587 SSL = .F.

* Not OK
SMTP Port = 587 SSL = .T.

* Not OK
SMTP Port = 2525 SSL = .f.

* Not OK
SMTP Port = 2525 SSL = .t.

* Not OK
SMTP Port = 8025 SSL = .F.

* Not OK
SMTP Port = 8025 SSL = .T.

* Not OK
SMTP Port = 8465 SSL = .F.

* Not OK
SMTP Port = 8465 SSL = .T.


But with GUI no success :-(


>Try
>(1) not to use ssl
>(2) use port 2525
>see https://www.smtp2go.com/setup/
>
>
>>Hello all,
>>
>>When I send an email the following way with FoxyPreviewer everything goes fine.
>>
>>WITH _Screen.oFoxyPreviewer
>> .cLanguage = "FRANÇAIS"
>> .cEmailTo = "denis2@MyWebSite.com"
>> .nEmailMode = 3 && 1 = MAPI, 2 = CDOSYS HTML, 3 = CDOSYS TEXT, 4 = Custom procedure
>> .cSMTPServer = "mail.smtp2go.com"
>> .cEmailFrom = "denis@MyWebSite.com"
>> .cEmailSubject = "SMTP2GO"
>> .nSMTPPort = 465
>> .lSMTPUseSSL = .T.
>> .cSMTPUserName = "MySMTP2GO_UserName"
>> .cSMTPPassword = "MySMTP2GO_Password"
>> .lReadReceipt = .T.
>> .lPriority = .T.
>> .SendEmailUsingCDO()
>>ENDWITH
>>
>>
>>But when I try to send a report with FoxyPreviewer with the graphical interface I have the following errors.
>>
>>
>>Error sending email
>>
>>#1429 - send - 0x00000213 CDO.message.1 Transport failed in the connection to servor
>>Message was not sent
>>
>>
>>If I specify Security connection (SSL) in the report preview setup for email while keeping port 465 the error message comes much faster and it says this
>>
>>#1429 - send - 0x00000211 Message couldn't be sent to the SMTP server. Transport error code is 0x80040217. Response of the server is not available.
>>
>>Anyone can tell me what could be wrong?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Reply
Map
View

Click here to load this message in the networking platform