Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing SMTP email calls
Message
 
 
To
04/01/2024 06:54:22
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01687494
Message ID:
01687503
Views:
70
Hi Tamar,

You can use blat command line utility to test with debug info https://sourceforge.net/projects/blat/files/latest/download.
There are few files in the zip but you only need blat.exe
blat -body "test body" -server smtp.freesmtpservers.com -f tamar@istesting.com -to tamar@didthiswork.com -s "test subject" -debug
>I'm just getting started replacing an old email module I wrote for a client that doesn't seem to be working for their customers anymore.
>
>For various reasons, choosing to do this with Chilkat and the new ChilkatVFP wrapper. I've figured out the code I need to create and send an email, but I'm struggling in testing it. When I tried to configure it to use the SMTP server associated with my Office365-based Exchange Server, I got authentication errors.
>
>I poked around and found a cool site that provides a test SMTP server online so you can test email issues (https://www.wpoven.com/tools/free-smtp-server-for-testing). Even found a different site that lets you test sending via SMTP (https://smtpserver.com/smtptest). When I use the second site to send an email using the first site's server, the email goes through without error, so I know I've got the right SMTP settings.
>
>But when I use my code to try to send via the first site, I time out. This is really simple code, just to make sure I can make it all work. After the necessary SET PATH and SET CLASSLIB, it's just:
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform