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

Konrad Pilch
Konrad Pilch
2,435 Points

PHP Mail

HI,

Im trying to figuring out for a week how the mail works but i think its just better to post a quesotni here.

How do i make my mail wokring? i mean, pasitng the code from threehouse blog ro video and set it to my emial and then i need some kind of " Mail Server" ?

What are the steps i need to do to make my portfoli contact form working?

1 Answer

Greg Kaleka
Greg Kaleka
39,021 Points

Hi Konrad,

You should check out the course Build a Simple PHP Application. Randy takes you through how to set up PHP Mailer, along with all the server setup you'll need to do. If you're fairly comfortable with PHP, you could skip right to the "Adding a Contact Form" section, but I would recommend going through the whole course.

Good luck!

Konrad Pilch
Konrad Pilch
2,435 Points

HI, thank you for reply,

i watched the first part, but its seem a little to complicated with all of that : p or either its me that im thinking about too many things.

So i have to code the website first right? the PHP and once is coded ?
I have to set up a mialer ?

Greg Kaleka
Greg Kaleka
39,021 Points

Yes, you need a wesbite set up. If you have your own, you may be able to figure out using Sendgrid - which is what I use on my site - or another framework.

Konrad Pilch
Konrad Pilch
2,435 Points

It looks promising . I will try to do it tomorrow, too much for me now with that, im jsut going to watch and learn some other PHP to re-inforce whtat i know .

Yes i have my own website, well portfolio where i need to get my Contact from working and then i can put it on web but im trying for like a week and uh .

Thank you

Greg Kaleka
Greg Kaleka
39,021 Points

Hah, alright - good luck Konrad :)

Konrad Pilch
Konrad Pilch
2,435 Points

Hi, again, i probably , if i get time do it tomorrow or in two days. The problem when living with parents and having a pc thats 25% mine and its near TV , living room where its impossibile to study programming .

My main point is that i looked at your webiste and i really like it but i thought about that it could look even nicer if you maybe could try with a thick line on the bottom of the page? like a green line? and put the date etc.. just a try , its kind of hard to see your footer up there . And contact maybe i though about the links to fb and twitter maybe? to balance it out with your right side. Just a suggestion . But at the end i dont know how it will look in practice, i just imagined and thought about it what could be nice too.

Konrad Pilch
Konrad Pilch
2,435 Points

oh, i have a little question . How long did it take you to learn Obj-C? and how much effort did you put in it?

Greg Kaleka
Greg Kaleka
39,021 Points

Hey thanks for the feedback on my site! I'll definitely try some of those suggestions out. I got an email from "k" with an email of "k" and the message was "k"... I assume that was you hah. I've taken that as a cue to add email address validation :).

As far as objective-c goes, it took quite a while, but I was doing it on the side while working a full-time non-programming job (as I am now)... it's a pretty tricky language, though. I actually do most of my iOS coding in Swift now. The only downside is that it's harder to find answers to problems on StackExchange, etc. since it's such a young language.