Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8607487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:22:08+00:00 2026-06-12T03:22:08+00:00

The title basically says it all. We’ve got a subdomain setup where every single

  • 0

The title basically says it all.

We’ve got a subdomain setup where every single subdomain is the same exact site, but branded for different companies.

There’s a PHP script that sends an email based on certain actions when a form is submitted. Is there anyway (possibly in cPanel) to see a record of those sent emails? Or will I have to code something in to that script?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:22:09+00:00Added an answer on June 12, 2026 at 3:22 am

    If mail() encounters an error, this usually logs the error in this location: /var/log/messages (unix path)

    Otherwise, logging is as easy as adding few extra lines of code when you are calling the mail() function.

    $file = "mail.log"; // log file name
    $fh = fopen($file, 'a') or die("can't open file"); // create a handle
    fwrite($fh, "to: ".$to.",subject: ".$subject.", body: ".$body."\n"); // log email sent
    fclose($fh); // close file
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry for the confusing title, but it basically says it all. Here's the structures
The title pretty much says it all, but basically I have a main parent
Title basically says it all. I've tried Googling but return a load of false
The title basically says it all. I have a hexadecimal string representing a private
The title basically says it all. In my case, I have a polyline and
The title basically says it all. I'm getting three user-supplied integers ( year ,
The question title basically says it all. Is it possible in JPA/Hibernate to gracefully
The title already says a lot, but basically what i want to do is
Title basically says it all. The error I get at: document.forms[0].onsubmit = validateForm; This
The title basically says it all. I mainly want to do this so that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.