Knowledge Base Home  l  Web Hosting  l  Softwares  l  WHM  l 

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\INETPUB\VHOSTS
Category : Web Hosting

Getting the following error

ini_set ("SMTP","localhost");
ini_set ("sendmail_from","webmaster@xxxxxx.com");
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\INETPUB\VHOSTS\xxxxx.com\httpdocs\member.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at D:\INETPUB\VHOSTS\xxxxx.com\httpdocs\member.php:26) in D:\INETPUB\VHOSTS\xxxxxx.com\httpdocs\member.php on line 31

 

--------------------------------------

I could fix the error by adding the following lins of code in top of the page

ini_set ("SMTP","localhost");
ini_set ("sendmail_from","webmaster@mithramcharity.com");

 

From 

Lijo Peter

Adsin Technologies


Growing Business Circle™
Click here for more ....
      
     Category
 
Web Hosting  l   Softwares  l   WHM  l  
  Most Recent Articles

» Send the mail using the SMTP authentication through php

» This message is to inform you that the account xxxxxx has user id 0 (root privs)

» Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\INETPUB\VHOSTS

» call-time-pass-by-reference error after updating the php to php 5.4

» spamming through exim, Exim is down , /var drive is full

      Popular Articles

» Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\INETPUB\VHOSTS

» call-time-pass-by-reference error after updating the php to php 5.4

» spamming through exim, Exim is down , /var drive is full

» Free back up software for windows (Windows 2003 server, Windows Xp)

» How to create new email id under the HELM control panel – AdsinMedia Hosting

» How to configure the mail id in microsoft outlook express

» How to delete the mail from outgoing folder of Microsoft outlook

» SMTP error Codes

» How can I use the new server while I change the DNS server of a domain.

» Spamd spamassassin shutting down automatically





Copyright © 2014 Adsin Technologies. All rights reserved. Powered by business adsleaf