website development---> PHP mail scripting
website development---> PHP mail scripting
So I am almost done with a website for my business....last part is to finish up the PHP mail script for my submit box.
For the life of me I can't get this thing to work....I am getting it down with pretty good now with general coding but I can not figure this PHP scripting out for the life of me.
Anybody know this stuff?
Any help would be awesome!!!
-Josh
For the life of me I can't get this thing to work....I am getting it down with pretty good now with general coding but I can not figure this PHP scripting out for the life of me.
Anybody know this stuff?
Any help would be awesome!!!
-Josh
Last edited by blackjack8900; Dec 4, 2010 at 11:51 PM.
do you have an SMTP server set up to relay your emails?
if you try to send an email without an SMTP relay, nothing is going to happen.
typically, if you're hosting on a site like godaddy or 1and1, they provide you with an available email server and smtp relay to use.
if you try to send an email without an SMTP relay, nothing is going to happen.
typically, if you're hosting on a site like godaddy or 1and1, they provide you with an available email server and smtp relay to use.
It's not clear what your problem is, but you might want to take a look at PhpMailer -- it's very simple to use:
http://sourceforge.net/projects/phpmailer/
As already mentioned, you also need to know various details about your server in order to send email - your hosting provider should give you that information.
http://sourceforge.net/projects/phpmailer/
As already mentioned, you also need to know various details about your server in order to send email - your hosting provider should give you that information.
do you have an SMTP server set up to relay your emails?
if you try to send an email without an SMTP relay, nothing is going to happen.
typically, if you're hosting on a site like godaddy or 1and1, they provide you with an available email server and smtp relay to use.
if you try to send an email without an SMTP relay, nothing is going to happen.
typically, if you're hosting on a site like godaddy or 1and1, they provide you with an available email server and smtp relay to use.
Yea, im hosting with godaddy.
I had it working before, found one php code online and copied it in, everything worked great. Only thing was I need to add fields to it, more info lines, check boxes and a number imput. I just repeated want was already done, exactly but it just does not want to work now
It's not clear what your problem is, but you might want to take a look at PhpMailer -- it's very simple to use:
http://sourceforge.net/projects/phpmailer/
As already mentioned, you also need to know various details about your server in order to send email - your hosting provider should give you that information.
http://sourceforge.net/projects/phpmailer/
As already mentioned, you also need to know various details about your server in order to send email - your hosting provider should give you that information.
That looks close to what I am doing, but how would I go about adding all the info that I need send with it? Like check boxes, and other info that i need sent?


