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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:59:36+00:00 2026-05-26T17:59:36+00:00

My computer has got apache installed(localhost), so i made a signup option, and there

  • 0

My computer has got apache installed(localhost), so i made a signup option, and there is an email option to which i send a mail for activation of account. I have an internet connection, now if in the PHP script, i write
mail($to,$subject,$msg);
will this code deliver the mail to the desired recepient because it is not sending it.

  • 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-26T17:59:37+00:00Added an answer on May 26, 2026 at 5:59 pm

    There is no way to be 100% sure an email was received by a recipient.

    The mail() function returns a value depending on whether there was a problem sending the email or not. You would do that like this:

    $successful = mail($to,$subject,$msg);
    if (!$successful)
    {
        // The email was not sent
    }
    

    If the value of $successful is false then the server had an issue sending the email. So add that to your code and see what happens. If $successful is true then the server is sending the email ok and your problem may lie with spam filters that are receiving the email and deleting it. You can learn more about how to prevent that in this question.

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

Sidebar

Related Questions

I've got a Qt app that I need installed on a customers computer, which
I've got a new production computer and installed my BizTalk app on there. The
Functional programming seems to be a paradigm in computer science which has more and
A list of every update and hotfix that has been installed on my computer,
Logged into my Windows XP SP2 computer using my normal user account (which has
My brother has a computer running Windows XP with SP2 installed. His computer was
There is a virus that my brother got in his computer and what that
I've got XAMPP installed on my Windows 7 Computer. I've been developing on it
I'm having a problem with the Hudson build slave which has got Windows XP
How can I code to see how long the computer has been on. Simple

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.