Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email Automation via SMTP Server
Message
 
 
To
28/07/2003 15:47:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813190
Message ID:
00814365
Views:
38
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform