Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


regular Mail function and for some reason it sends the email but with it prepared to delete....

Posted on 2004-10-22
Medium Priority
Last Modified: 2010-05-18
im using a regular Mail funciton in PHP and for some reason it sends the email but with it prepared to delete?

When i say prepared i mean i have imap on my own mail server with redhat 9 ....
Which i setup, i can send and recieve email perfectly fine and nothing ever does what this does.

I setup another server this one Windows 2000 and next to my other redhat server LITERALLY and setup the php file to use the sendmail to send out emails. Which works great i do remember i had trouble with it first working because i got the admin bounces stating no relaying but i fixed that. So anyway it sends out emails ok, but if i send out an email to a local account on the redhat machine and its an imap account i get it but with a line through it .....
if your familar with imap you'll know that line is there before you purge your emails.

why would i get the email ready and prepared to be purged ?
ive tried another computer with outlook to check it thinking it could be my computer and its not every email that i send out from the 2000 server sends with it ready to be purged ?
What the heck would cause that ?
could somehting in the email header cause this...

Please Help

Question by:aot2002
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

angel_f earned 2000 total points
ID: 12403059
Hi aot2002,

Maybe the problem is with your php.ini, look for sendmail_path in that file and see if the value is right.

I don't know witch MTA are you using but in qmail sendmail_path should point to  /var/qmail/bin/qmail-inject, and in others like Postfix or Sendmail to /usr/sbin/sendmail.

If you are not running qmail do a updatedb && locate sendmail and put the right value in php.ini.

From my experience: if configure doesn't found a valid mta inject program it sets the default value to null. And the SMTP_* values are only valid in windows machines.

Look at http://www.php.net/manual/en/ref.mail.php for more info.

Author Comment

ID: 12438879
let me check it out and i'll post it

Author Comment

ID: 12479860
no everything looks ok in php.ini file

anything else ?

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question