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 Building Websites with PHP Contact Form & Sending Email Installing SwiftMailer

Oziel Perez
Oziel Perez
61,321 Points

Using swiftmailer to add specific headers to prevent your message from getting spammed

Is there any additional steps needed to make sure your email doesn't get marked as spam? I would like to use this to send "confirmation" emails (like when they purchase something or register), but I've seen messages like that get marked as spam, specifically on outlook.com. Please advise