Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
West Wind SMTP
Message
De
16/05/2022 10:30:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
West Wind SMTP
Divers
Thread ID:
01684376
Message ID:
01684376
Vues:
105
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é
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform