Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
West Wind SMTP
Message
From
17/05/2022 11:33:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01684376
Message ID:
01684379
Views:
86
Port 587 did it!

Thanks a lot Dmitry.

>Please try port 587 and see if it works better.
>That is, change your line:
>
>oSmtp.cMailServer="mail.smtp2go.com:587" 
>
>
>HTH
>
>>I want to send emails by using West Wind Internet and client tools made by Rick Strahl.
>>
>>I have an account on SMTP2GO.com
>>
>>Here is what I'm trying and it doesn't work.
>>
>>DO wwSmtp && load libraries
>>
>>LOCAL loSMTP as wwSmtp
>>loSmtp=CREATEOBJECT("wwSmtp")
>>loSmtp.nMailMode = 0 && 0 - .NET wwSmtp (defult), 2 - classic wwIPStuff mode (no-SSL)
>>
>>loSmtp.cMailServer="mail.smtp2go.com:465"
>>loSmtp.cSenderEmail="Here I put my email address"
>>loSmtp.cSenderName="Denis"
>>loSmtp.cUsername = "Here I put my email address with SMTP2GO"
>>loSmtp.cPassword = "Here I put the password that goes with my cUserName"
>>loSmtp.lUseSsl = .T.
>>loSmtp.cRecipient="email address of the person receiving that email"
>>loSmtp.cSubject="Bonne journée!"
>>loSmtp.cContentType = "text/html"
>>loSmtp.cMessage="Contenu avec des accents comme é et à"
>>
>>
>>llResult = loSmtp.SendMail()
>>
>>IF !llResult
>> Wait window loSmtp.cErrorMsg
>>ENDIF
>>
>>After a couple of seconds I receive this message
>>loSmtp.cErrorMsg = waiting delay of the operation has expired
>>
>>I tried with nMailMode = 2. Result was worst. Endless loop.
>>
>>Anyone has a clue?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform