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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:28:20+00:00 2026-06-07T19:28:20+00:00

I am currently working on an Email Server program that will keep track of

  • 0

I am currently working on an Email Server program that will keep track of emails that are sent via my website/web apps, and retry any that may fail due to SMTP errors.

What I am looking at being able to do is to replace the default method that PHP uses to send email.

I’ve tried creating a php script that has the same parameters as the mail function and adding this script to the sendmail path in the php.ini file but when I try this the browser just sits their not doing anything.

The idea is that the user would only need to reconfigure php to use my own version instead of having to write different code, i.e. they can the exactly the same code that they currently use to send email via php but instead of php doing the send, it just passes the details required to my own version to pass it on to the email server.

Is this something that this possible, thanks for any help you can provide

  • 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-07T19:28:22+00:00Added an answer on June 7, 2026 at 7:28 pm

    If you have the runkit extension installed, you may be interested in using runkit_function_redefine to override the email function. Unfortunately, with PHP, native overriding of functions is not supported.

    Reference: http://ca.php.net/runkit

    Reference: http://ca.php.net/manual/en/function.runkit-function-redefine.php

    Otherwise, you may also try and give override_function a shot.

    Reference: http://php.net/manual/en/function.override-function.php

    Enjoy and good luck!

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

Sidebar

Related Questions

I am currently working on an email server that when it receives an email
The project that I'm currently working on, is large scale. I'm using email activation
I am currently working on a registration based website, and I have the server
I'm working on a web site project that is currently tracked in svn but
I'm currently working on an application that in addition to the usual visual web
I am currently working on specifying a piece of software whereby generated emails will
I am developing an App that will interface with a web server (PHP with
I'm currently working on a project 'email to voice call'. Using python i'v extracted
Currently working with NSURLConnection. Found a great website showing important delegate methods coming with
Am currently working on an application that requires users to submit posts and comments

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.