LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-19-2003, 08:06 AM   #1
nshoboul
Member
 
Registered: Sep 2003
Posts: 30

Rep: Reputation: 15
problem with sendmail and php


i'm trying to send a message from a small php script :


<?php
$to = "issa@dyn-10-213.nur.local";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body))
{
echo("<p>Message sent!</p>");
}
else
{
echo("<p>Message delivery failed...</p>");
}
?>


when i'm running the following script i'm getting : Message sent!
up to that point there is still no problem.
the problem arise when i want to retrieve this message in my sendmail server. i don't find the message .

when i'm doing tail -f /var/log/maillog i'm gettting the message below :


Dec 26 21:44:39 dyn-10-213 sendmail[2178]: hBQJidDa002178: Losing ./qfhBQJidDa002178: savemail panic
Dec 26 21:44:39 dyn-10-213 sendmail[2178]: hBQJidDa002178: SYSERR(root): savemail: cannot save rejected email anywhere



i'm some how confuse because in my php.ini file php seems to be configured to work with sendmail, i can say that because of the following :

For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i


could anyone have suggestion about solving this problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Mail() Problem w/ Sendmail jusme Linux - Software 6 08-18-2012 02:35 PM
problem with my sendmail and php nshoboul Linux - Networking 3 04-23-2007 02:25 AM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Apache, PHP or SendMail problem ?? dddlc Linux - Software 3 04-28-2003 07:13 AM
sendmail - PHP problem munkus Linux - General 0 02-22-2003 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration