Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email Automation via SMTP Server
Message
 
 
À
28/07/2003 15:47:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00813190
Message ID:
00814365
Vues:
39
>Now that makes sense to me...so I copied the code to a prg and altered the appropriate fields. When I run the program I can connect to the Server but it fails on the "RCPT." Is there anything else I need to include in the project?
>
>TIA
>
>Wes

I'm under the impression that the code is supposed to run 'as is' without any additional files. Here is the code that is failing
   If Not ReadWrite(sock,"RCPT TO: " + alltrim(laTo[lnI]), 250)
      GiveFeedBack( loFB, "RCPT Failed" )
      EXIT && Leave Control Loop
   endif
I suggest putting a SET STEP ON before the IF and see what gets passed to ReadWrite(), stepping through might tell you what is wrong. Check that laTo[lnI] contains a valid address. If this doesn't help, you will have to contact the author directly. Note that there are some suggestions at the end of the code to do with improvements, you might want to investigate these.
censored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform