Working and Easy Mandrill Smtp Setup With PhpMailer

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.

Mandrill Smtp Configuration 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.

1- class.phpmailer.php
2- class.smtp.php
3- PHPMailerAutoload.php

You can also download above short files from below link :


If you want to try demo, you can check it on my portfolio:

My Portfolio Example

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.

Himanshu is a young engineer living in India. Currently working at Cognizant as a Senior Engineer. He is an ethical hacker & blogger too, doing lots of crazy stuff... If you seem interesting, go through his portfolio: : "Open Source. Millions of open minds can't be wrong!

Leave a reply:

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Site Footer

Sliding Sidebar

We are India’s largest Startup Community

We are team of ' Delhi Startups ' , most active startup community with strict spam policy.
We are making !deas happen..for future, business and jobs without charging anything, with connecting entrepreneurs.. It's a reason to trust on us.
Come and join or subscribe, we will defiantly give a reason to like us.

Our Facebook Page