Hey there, future email wizards! Get ready for a FREE magical adventure as we dive into the world of setting up SMTP Mail in Blocs. Imagine being able to send electronic letters to friends, family, or even your favourite superhero, without using an owl, a carrier pigeon or the much-hated built-in PHP Mail!
In this tutorial, we’ll transform you into an SMTP email-sending superstar, no matter if you’re 10 years old or 100! We’ll be breaking down the mystical SMTP Mail setup in Blocs into bite-sized pieces, so even your pet goldfish could understand it.
So, buckle up, grab your wand (or mouse), and join us on this enchanting journey to become the ultimate SMTP wizard with Blocs! Abracadabra!
Allez on y va: (That’s French in case… )
1. Download PHPMailer from here:
2. Download the send_form_smtp.php here:
send_form_smtp.php_V2.zip (1.2 KB)
3. Unzip both files
4. Rename the “src” folder to PHPMailer (don’t mess around with the capitals! ) and delete the rest.
5. Here we go with the tricky part. You’ll need to add your email host credentials to the send_form_smtp.php file. Use Apple’s text editor or a code editor to modify.
- Add your account details
- Add your email address
- Add a link to your website Thank-You page
6. Upload the .PHP file and the folder to the root of your website.
7. In Blocs create a form and set Type to ‘custom’, Action to your .PHP file and Method to ‘Post’
8. Save export and upload your project.
If all is done correctly your form will use SMTP instead of PHP.
Congratulations, email wizards! You’ve made it to the end of our magical and FREE SMTP Mail setup adventure in Blocs. You’ve conquered each challenge, tamed the mystical creatures of the form realm, and unlocked the power to receive electronic SMTP forms far and wide!
As you spread your wings (or mouse) and venture forth into the world of forms, remember the enchanting lessons you’ve learned here today. Don’t forget to share your newfound powers with friends, family, and maybe even a friendly dragon or two!
So, go forth, brave wizards, and sprinkle your email magic across the digital landscape! And if you ever need a refresher on your SMTP Mail Form potion recipe, just hop back onto your trusty broomstick and return to this tutorial. Until next time, keep spell-casting and happy form creating! Hocus Pocus!
Note to self: I’ve deserved a under the
After coffee thoughts.
You could even make it easier by wrapping the PHPMailer folder and the .PHP file into a folder and attaching this to your Blocs project. You will just need to set the path in the sent_form_smtp.php file and the Action setting in your project correctly.
UPDATE:
I’ve re-uploaded the .PHP file as it pointed to the wrong directory.