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
Solved

Sending out mass email via PHP's mail() - how do I check status of emails in Linux?

Posted on 2006-11-03
4
1,338 Views
Last Modified: 2008-01-09
Hey guys.  I have a member's website with over 200,000 members.  I just sent out an email to all of them (not spam) with the mail() function in PHP.  It's still processing 30 minutes later.  I was wondering if there was a way to check the status of these emails?  Like being able to see them go out?  Or maybe the queue?  ... within the linux command line?
0
Comment
Question by:tyleradam
  • 2
4 Comments
 
LVL 16

Expert Comment

by:manav_mathur
ID: 17868914
Hi tyleradam,
In the php script, inside the loop where you loop through all mail messages, why not put a simple print statement saying which ones are sent??

Cheers!
0
 

Author Comment

by:tyleradam
ID: 17868960
Well, it's for a members website.  Theyll be using this script to make bulletins.  So I didnt want them to see the backend stuff.  But when it comes to them making a bulletin... theyll just be going out to a few people ... so it wont take long.   But I made a bulletin for everyone.  I guess I shoulda made a custom part just for me.  I was just thinking there might be a way to check it now.
0
 
LVL 16

Expert Comment

by:manav_mathur
ID: 17868977
Since you have access to the server, maybe you can log to a file instead of printing.
0
 
LVL 8

Accepted Solution

by:
edkim80 earned 500 total points
ID: 17870207
you can check /var/log/maillog

sent mail is usually logged here
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

840 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