473,785 Members | 2,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"sendmail_f rom" not set in php.ini or custom "From:" header missing

Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 14
Message-ID: <9D************ *******@newsrea d3.news.atl.ear thlink.net>
Date: Sat, 03 Jul 2004 12:27:49 GMT
NNTP-Posting-Host: 24.136.228.213
X-Complaints-To: ab***@earthlink .net
X-Trace: newsread3.news. atl.earthlink.n et 1088857669 24.136.228.213 (Sat, 03 Jul 2004 05:27:49 PDT)
NNTP-Posting-Date: Sat, 03 Jul 2004 05:27:49 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
Xref: number1.nntp.dc a.giganews.com alt.comp.lang.p hp:26474 comp.lang.php:6 5898
I saw a lot of messages out there regarding this problem, so, thought i
would post the solution.

To any one getting the error message:
"sendmail_f rom" not set in php.ini or custom "From:" header missing
when trying to send mail using the mail() function in Windows,

The solution is: whenever you change the php.ini file, you must also
reset the web server. Then all of the PHP variables that you set will
be seen by the server.

-d

Jul 17 '05 #1
0 4950

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3067
by: Alan Little | last post by:
Has anyone ever figured out the problem with this? I have sendmail_from set in my php.ini, and I also in this case have a custom From: header, but I still get this message. Here's the relevant php.ini: SMTP = my.mail.server smtp_port = 25 sendmail_from = me@mydomain.com The full message is (everybody sing along):
4
3703
by: chris.huh | last post by:
This may not be the best place to put this but i have set up apache as a testing server on my local machine. Whenever i try to use a formmail.php script i downloaded is always come sup saying that i need to configure sendmail_from. I have changed this (in php.ini) to be to my email address and the smtp server is set to be my university's smtp server (which i hope should work). But it still comes up with the error. The actual error is:
1
6509
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
3
2339
chunk1978
by: chunk1978 | last post by:
i keep reading "simply do this with PHPs built-in Mail() function"... wtfever! i've been trying to get this working for a week, and it's still a big mystery... my PHP script: <?php $to = "jmattie@sympatico.ca"; $subject = "PHP Mail Test"; $body = "Testing.\n . This is a basic text PHP Mail Function test"; $headers .= 'From: no-reply@image_ctrl.ca' . "\n";
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.