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 782223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:21:12+00:00 2026-05-14T20:21:12+00:00

Is it possible to check if the php can get some kind of a

  • 0

Is it possible to check if the php can get some kind of a ping/flag back from exchange mail server to say “yes, email has been sent off to the intended recipient”?

According to the PHP manual, the return of mail() boolean could mean; “It is important to note that just because the mail was accepted for delivery, it does NOT mean the mail will actually reach the intended destination.”

Does this mean, PHP can return success but actually there could be a problem on the mail server that php wouldn’t know about it? and in this case no email has been sent and the user is none the wiser?

TIA
Jared

  • 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-05-14T20:21:13+00:00Added an answer on May 14, 2026 at 8:21 pm

    The mail() function will just connect via SMTP to the server and send the message. Then if the server says the server has received the message, mail will return successfully.

    In the meantime, things can go wrong. The user’s account could be deleted, the harddisk on the mailserver could crash, the SMTP server could fail to find the user’s mail server. The user’s mail server could reject the message because the user’s mailbox is full. Many, many things could go wrong.

    This isn’t PHP’s fault. And no reasonable improvement could be made to any programming language API to make sure someone got the message. But some companies like CampaignMonitor offer a paid service that will check for bounces and if people open the message to update mailing your mailing lists. Using APIs from services like these, you could check in a few days if the message was successfully received.

    So the PHP docs are just saying, ‘We can only tell you if the first SMTP server said they got it. Any number of issues could happen between the computers from there to the person with the email account.’

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to check properties from a PHP stdClass? I have some models
Possible Duplicate: How do I get current page full URL in PHP How can
is it possible to check (with PHP) if the browser supports SVG? like ...
Possible Duplicate: Check if a variable is empty Simple PHP question: I have this
Possible Duplicate: How to check file types of uploaded files in PHP? I have
Possible Duplicate: Alphabetic equivalent of PHP is_numeric If you check if the data is
Possible Duplicate: PHP: Check who had read sent email? I'm writing a tool in
We can check in MYSQL for example SELECT * FROM smth WHERE id IN(1,2,3)
Coming from C++ background ;) How can I overload PHP functions? One function definition
Possible Duplicate: How to get useful error messages in PHP? I'm programming php on

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.