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,336 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

786 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