Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1373
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

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