hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : php mail problem
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

php mail problem

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-02-2002, 01:38 PM
scriptstalk scriptstalk is offline
Newbie
 
Join Date: Jul 2002
Posts: 10

php mail problem


Hi,

my mail program is not running

this is my test

<?php
$recipient = "xxxx@xxxx.com";
$subject= "hi";
$message="hi";
$headers="hi\r\n";

mail($recipient, $subject, $message,"From:info@xxxx.com",$headers);


?>

what is the issue here. I gues the problem with php.ini


thansk

__________________
http://www.scriptstalk.com
Talk About all the scripts PHP, ASP, PERL, JAVA, and WebServers

Reply With Quote


Sponsored Links
  #2  
Old 09-02-2002, 01:41 PM
scriptstalk scriptstalk is offline
Newbie
 
Join Date: Jul 2002
Posts: 10
lates news

in the apache log I am getting following error when I call
mail function.



: sh: -t: command not found


thanks

__________________
http://www.scriptstalk.com
Talk About all the scripts PHP, ASP, PERL, JAVA, and WebServers

Reply With Quote
  #3  
Old 09-02-2002, 02:16 PM
LadyHawk LadyHawk is offline
Newbie
 
Join Date: Nov 2001
Location: NY
Posts: 16
<?php
$recipient = "xxxx@xxxx.com";
$subject= "hi";
$message="hi";
$headers="From: info@xxxx.com";

mail($recipient, $subject, $message, $headers);


?>

__________________
The WebHosts Offering Webhosting & SEO Services
The WebHosts
For the Month of May we are offering Hosting for $2.99 on our Basic package when you pay for 6 or 12 months in advance. Use Coupon code DR8T029SSW at checkout. This offer applies to New Customers ONLY.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Outbound Spam Causing Sleepless Nights? Blog 2013-05-13 09:52:21
cPanel Launches Version 11.32 of Control Panel and Web Host Manager Web Hosting News 2012-02-15 12:46:33
SpamExperts IPv6 Whitelist Foundation Wins IPv6 Task Force Award Web Hosting News 2011-11-18 22:21:53
Email Provider OpenXchange Partners with Openwave Web Hosting News 2011-10-12 17:23:08
The Lesson of the Ten, with Jeff Hardy Web Hosting News 2011-08-08 22:12:01


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?