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,339 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
[X]
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
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 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