by Bryan A. Cairns (12 Submissions)
Category: Complete Applications
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(26 Votes)
Send emails without having to have a mail server.
Forgive me if you think this demonstration is pathetic...
This is really intended for beginners, and I know there are some out there
asking how to do this.
If you use any of this code, please give them credit.
This is just a simple program that shows how to send an email
without having an email server at your disposal.
To use, simply enter the Mail From, From Name, Mail To, and Subject, and Message.
How does this work?
Simple - it first takes the domain from the email you are sending to...
So if you are sending to [email protected] the domain is b.com
It then does an MX Lookup to find the mail server for that domain (mail.b.com)
Then it sends the email to the server.
Side Effects
Lots of losers will build email flooding programs from this.
API DeclarationsA few - see zip
Download SendMail Without Server (27 KB)