|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||||
|
|||||
|
Mail()
I read a mail script tutorial, and pretty much copied the code, but it doesn't work for some reason
php Code:
|
|
#2
|
|||
|
|||
|
RE: Mail()
I think you need to have some type of email address in between the <>'s..:
$mailheaders = "From: My Web Site <> n"; also, what operating system? any error messages? |
|
#3
|
|||
|
|||
|
RE: Mail()
I'm not getting any errors, But it doesn't seem to be sending, also, when I click submit it doesn't get rid of the form and display the "Thank you!". I'm using this script on l33t.ca server
|
|
#4
|
|||
|
|||
|
RE: Mail()
I would suspect that the if($submit) condition is never being met.
|
|
#5
|
|||||
|
|||||
|
RE: Mail()
seems odd to verify with the submit either way..
php Code:
|
|
#6
|
|||
|
|||
|
RE: Mail()
Thank you, its working perfectly now
|
|
#7
|
|||
|
|||
|
RE: Mail()
I think your problem was that you didn't have "name=submit" in your submit button :
<input type="submit" name=submit value="Submit" class="button"> <input type="reset" class="button"> </form> |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Mail() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|