• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1364
  • Last Modified:

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

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
tyleradam
Asked:
tyleradam
  • 2
1 Solution
 
manav_mathurCommented:
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
 
tyleradamAuthor Commented:
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
 
manav_mathurCommented:
Since you have access to the server, maybe you can log to a file instead of printing.
0
 
edkim80Commented:
you can check /var/log/maillog

sent mail is usually logged here
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now