Hello friends hope you are doing well, today I'm going to share Working and Easy Mandrill Smtp Setup With PhpMailer for your php website with phpMailer.
Actually today I had some frustration when I felt to configure Mandrill SMTP with phpMailer, I searched on Internet and got some solution but almost everyone making it too complicated by using lot's of phpMailer files so here I will share complete tutorial with only 3 important file of phpMailer.
You can also download above short files from below link :
If you want to try demo, you can check it on my portfolio:
Once your download complete, login your Mandrill Account and copy your Mandrill email and API key for use, and start below steps:
1- Extract above download file in a folder name 'lib'.
2- Upload above folder on your Server's root folder.
3- Copy below code and Save in .php
4- Fill above copied data and other required data ex- Subject, Receiver's Email etc.
5- Run your php file it will work awesome.
Troubleshoot : May such codes fails to run on localhost or you can face authentication error for such issue please check Mandrill details carefully.