|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
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
|
|||||
|
|||||
|
sendmail_form and php.ini
Can anyone help me please.
I am a complete beginner in PHP, and I am trying to send a simple e-mail. I use windows, and php 4.3.4. I have changed the php.ini file so the sendmail_from = my e-mail address. And yes, I did also change the smtp server to my IP address. Anyway, I saved the php.ini file, restarted Apache and checked out the phpinfo(); function to see if it had worked. The smtp has changed on this page, but not the sendmail_from. Is that not a little weird? Or am I being stupid? The error I get is: Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in c:program filesapache groupapachehtdocssend_simpleform.php on line 13 The code is php Code:
Can anybody help me please? Thank you |
|
#2
|
|||
|
|||
|
RE: sendmail_form and php.ini
Well, can you post that line from yoru config file?
|
|
#3
|
|||
|
|||
|
RE: sendmail_form and php.ini
|
|
#4
|
|||
|
|||
|
RE: sendmail_form and php.ini
Thanx, that did the trick, but I am still not receiving any e-mail on my address? Is that because I am now using localhost?
|
|
#5
|
|||
|
|||
|
RE: sendmail_form and php.ini
Localhost just means that you are using the local mail process to send the mail.
Any Errors? Do you have access to the mail logs? Look for errors. |
|
#6
|
|||
|
|||
|
RE: sendmail_form and php.ini
No errors,
I don't think I have access to the mail-log files, but I might be wrong.. |
|
#7
|
|||
|
|||
|
RE: sendmail_form and php.ini
you use msn
i assume they have the same "problem" that hotmail has basically, you need to have some more headers, and need to make sure you use a CRLF (carriage return, and newline ... rn) see this |
|
#8
|
|||
|
|||
|
RE: sendmail_form and php.ini
I have changed to localhost, and changed my e-mail address to a non-msn/hotmail address, but I am still not receiving any e-mails? Weird hu?
|
|
#9
|
|||
|
|||
|
RE: sendmail_form and php.ini
did you do the rn, etc. i linked to?
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > sendmail_form and php.ini |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|