Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
aryyan2001
Joined: Dec 07, 2005
# Posts: 1
|
Posted: 2005-Dec-07 19:11
Hi everyone
I have got a problem. I have got a form for user's registration. The program should email the login details to the user upon registration. I get the following message as soon as the form is submitted.
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:Program Filesxampphtdocsinsert_user.php on line 64
There is no problem with the mail() function in my insert_user.php file. I know that it has to do with php.ini configuration.
Could anyone please help me regarding this matter as it is causing serious headache.
Thank you
aryyan
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10440
|
Posted: 2005-Dec-07 21:03
In the file php.ini you haven't allocated an email address to the sendmail_from variable.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|