Warning: mail(): "sendmail_from" not set in php.in

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
JimmyPRiddle
-


Joined: 31 Aug 2003
Posts: 2

PostPosted: Tue Sep 16, 2003 3:28 pm    Post subject: Warning: mail(): "sendmail_from" not set in php.in Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Sep 17, 2003 12:43 am    Post subject: Re: Warning: mail(): "sendmail_from" not set in ph Reply with quote

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 View user's profile Send private message Send e-mail
JimmyPRiddle
-


Joined: 31 Aug 2003
Posts: 2

PostPosted: Fri Sep 19, 2003 11:53 am    Post subject: Reply with quote

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 View user's profile Send private message
yalrighty
-


Joined: 24 Jun 2003
Posts: 99

PostPosted: Fri Sep 19, 2003 1:22 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group