Show DevBest E-Mail Form (PHP & HTML)

Status
Not open for further replies.

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
Hello DevBest!

Literally only just started coding & this is probably simple as fuck for some people but I've only just started & I'm releasing this for people new to PHP & HTML.

You will need a mail server; I recommend hMailServer!
You will also need something to open your e-mail's with - They can be read by setting hMailServer to log file's but this way is much simpler; I recommend either Roundcube or Squirrel Mail.

File's:




Thanks,

Western.

Please leave feedback about how much of a noob I am.
Thanks.
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
I'm learning CSS so I'll be making the form look better. It's not too good right now & some of the coding is a little disgraceful ;). Still works though. Haha, yeah L33T I'm starting to look at PHP & MySQL a little deeper so I'll be inspecting some current CMS's to see how they do some of the stuff. :)
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
What was your error Kofi?
 

NSA

sudo apt-get thefuckout.tar.gz
Dec 9, 2011
715
86
Try putting this underneath my comment:
et("SMTP","mail.yoursite.com"); //mail.yoursite.com should be your local smtp
ini_set("smtp_port","25"); //25 should be your smtp port
ini_set("sendmail_from","[email protected]");
Then specify the SMTP setting's. (You should get one from your website host, if not look on Google for some free one's!)


The top line should be: ini_set("SMTP","mail.yoursite.com"); //mail.yoursite.com should be your local smtp
ini_set("smtp_port","25"); //25 should be your smtp port
ini_set("sendmail_from","[email protected]");
 
Status
Not open for further replies.

Users who are viewing this thread

Top