Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Evan Leopold
PLUS
Evan Leopold
Courses Plus Student 10,420 Points

PHPMailer Lesson Suggestion - SMTP

In the videos about setting up PHPMailer to send mail for the Shirts4Mike website, Randy mentions briefly his article about using SMTP but does not actually set it up. A really easy way to do this is with Mandril. Make a free account, add two or three lines of code to PHPMailer, and you will be good to go with SMTP. PHPMailer Example Code Free account lets you send 12,000 emails per month and up to 250 per hour.

2 Answers

Paul Neumyer
Paul Neumyer
15,301 Points

I did not get Mandrill to work with PHPMailer.

Paul Neumyer
Paul Neumyer
15,301 Points

I did not get PHPMailer to work for that matter also. I am not sure what I am doing wrong.