View previous topic :: View next topic |
Author |
Message |
JimmyPRiddle -
Joined: 31 Aug 2003 Posts: 2
|
Posted: Tue Sep 16, 2003 3:28 pm Post subject: Warning: mail(): "sendmail_from" not set in php.in |
|
|
Hi,
Firstly as a user of the server software for only 24hrs can I say how impressed I am with the ease of configuration, and excellent installation info!
I now have the server, with PHP and mysql enabled, with appropriate green lights etc.
I am attempting to send information gathered from a form, and to send it via formmail.php . I have had no trouble configuring the form and formmail.php in the past for use on commercial webspace, but when I attempt to do the same on my server at home,
1. The checks for missing fields etc works fine,
but
2. I then receive an error message
Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\PROGRAM FILES\ABYSS WEB SERVER\htdocs\formmail.php on line 392
A check of my machine fails to find a php.ini file for me to check, and I am unsure what I am expected to modify.
I downloaded and installed the Argosoft mailserver, but have no idea what to do next.
Any help appreciated!
Thanks! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Sep 17, 2003 12:43 am Post subject: Re: Warning: mail(): "sendmail_from" not set in ph |
|
|
php.ini file is usually in the Windows directory. Open it and locate the lien starting with sendmail_from and update it with your correct information. Save the file and retry your script. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
JimmyPRiddle -
Joined: 31 Aug 2003 Posts: 2
|
Posted: Fri Sep 19, 2003 11:53 am Post subject: |
|
|
Thanks for your help!
I eventually decided to use the smtp of my ISP until I have time to play with a home based mail server, and to control access in the f...mail.php script for now.
Why? - I am concerned about having a home based smtp server hijacked by spammers, and am not confident/competent enough to fully understand how to prevent this with Argosoft (free version) or any home based alternative.
Any pointers to info on the above would be appreciated, although I realise it is not an Abyss issue.
Thanks. |
|
Back to top |
|
 |
yalrighty -
Joined: 24 Jun 2003 Posts: 99
|
Posted: Fri Sep 19, 2003 1:22 pm Post subject: |
|
|
the php.ini file tells the scripts how to mail out .. by default it's localhost so for that to work you need an smtp server installed - I personally like QK smtp. |
|
Back to top |
|
 |
|