Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.