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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:40:02+00:00 2026-05-12T08:40:02+00:00

I want to write an email transfer service and need a MTU replacement of

  • 0

I want to write an email transfer service and need a MTU replacement of sendmail/postfix.

I’m not looking how to deliver to a transmitting SMTP server (like a postfix listing on a SMTP port). I also don’t need the receiving part of the server, bounces etc. would go to a different existing postfix.

All of it in pure PHP. SMTP is a pretty easy protocol but this would require access to the MX DNS record and other lot of details that need to be taken care of.

Why do i need this? Because most shared internet providers have insane low limits for sending out emails like 500 per day. Thats almost nothing if you want to setup even the lowest traffic email list.

EDIT: Please Note: The code needs to connect to the receivers SMTP server and deliver the message with an adapted header set (removed BCC list, added Path route). If you see a SMTP class less then 5000 lines or requires you to configure a SMTP hostip and port then this is not the stuff i’m looking for.

It needs to do all the stuff sendmail is doing just as a PHP library.

  • 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-12T08:40:03+00:00Added an answer on May 12, 2026 at 8:40 am

    I use Pear’s Mail class.

    EDIT

    After re-reading this, I see there’s more to it than just a library. You are asking to send direct to the remote MX.

    Why reinvent the wheel? Set up an instance of postfix on the server, which only listens to connections from the web server… and let an MTA do what it does best. Hand off the messages from php to a real mail server and move on.

    In the case of ISP’s that block outbound port 25 and force the use of a smarthost, this also allows you to restrict the rate of messages sent to the smarthost.

    Lastly, sending straight to the end MX from your php script is a bad idea, because if you send to me, I’ll never get it. I and many other sites use “greylisting” to reduce spam, which denies all initial requests with a 450 temporary error. Real MTA’s will try again, but unless you implemented a delay queue and try again, your message will never go through.

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

Sidebar

Related Questions

i want to write application who send email using outlook and i found this
I want to write <a href=product.php?id=5> as product/5.I am not talking about user to
Hi I want to write a java program where I will provide my email
I want to write some email scanning software and don't understand how to setup
I want to write a program that sends email using Python's smtplib . I
Let's say I want to write a function that validates an email address with
I have a class that reads a pop3 email server. I want to write
I want to write an app that consolidates/aggregates multiple email accounts (e.g., att.net and
I want to write a parser that takes an email or other text that
I want to write a windows service. But it needs to run at specific

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.