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


Konrad Pilch
Konrad Pilch
2,435 Points

Emails PHP


im going throw the emails and it seem quite a lot of work . I mean there is soo much about email sending.

I feel i could do more likely an e-commerce site easier then email .

Are there any suggestions about how can i practice? or make my own email for portfolio?

Any way i can learn it withouth watching Randy video 100times ?

2 Answers

It really depends on your skill level with PHP, I have done a ton of forms with PHP over the years and I have to admit it always feels like far more work than it should have to be. With that said, a lot of people do recommend PHPMailer, https://github.com/PHPMailer/PHPMailer, you may need to read through their documentation and view examples to wrap your head around it, but once you grasp it, it can definitely make the job a lot easier.

Konrad Pilch
Konrad Pilch
2,435 Points

I looked at that link but I cant find the way to the code : p

The great thing about email is that the core concepts don't really change - so once you've learned the steps once, you don't have to visit them over and over.

I would check out PHPMailer - something which I think is used in the Shirts4Mike project here on Treehouse. Have you seen the project?

Konrad Pilch
Konrad Pilch
2,435 Points

I have seen the project, im on the last step. I cant find the code , the PHPMailer and I pasted some wrong code and messed it all up .

What I really need to learn is do do any contact form . So as I want to make static webistes, people will need to have something like contact me or check box etc..

Im learning PHP and im focusing on the non-repetition . Like when you add new shirt, when the si=hirt get added and it gets it own id, so im making that , learning in my own project .

Its seem like a lot there . One day would be enough to learn it? : or rather before Sunday.