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

  • Home
  • SEARCH
  • 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 6386583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:02:41+00:00 2026-05-25T03:02:41+00:00

I am working on a PHP based mailing list using PHPmailer. Currently I have

  • 0

I am working on a PHP based mailing list using PHPmailer.

Currently I have implemented two options for answers to mailing list posts: reply to sender only Vs reply to list. This basically controls which address is inserted in the Reply-To field.

I want to create the behaviour which my users know from Mailman, here an example:

SenderA posts a message:

From: senderA@foo.bar

To: list@foo.bar

The mailing list forwards it to all recipients, e.g. here to RecipientA:

From: senderA@foo.bar

To: recipientA@foo.bar

CC: list@foo.bar

Now RecipientA replies to the post and the reply looks like that:

From: recipientA@foo.bar

To: senderA@foo.bar

The other option RecipientA has is posting the reply to the whole mailing by choosing "reply to all" in the mail client which looks like that in the reply:

From: recipientA@foo.bar

To: senderA@foo.bar

CC: list@foo.bar

When I would decide to set the mailing list’s address in the CC field for all forwarded mails:

  • Does that mean the mail comes back to the mailing list 100 times when I send out the mail to 100 subscribers (-> it would cost quite a lot of performance to retrieve, check and drop that duplicate mails)

  • Can I include a certain header so that the mail to the CC’d mailing list is not send 100 times? How can I tell the mail server(s) to not do that?

Or:

  • Is there an alternative way to allow the users to decide to reply to the sender or to the whole list?
  • 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-25T03:02:42+00:00Added an answer on May 25, 2026 at 3:02 am

    I figured it out – most email clients will treat replying to mailing list emails as desired when the following conditions are met for the outgoing mailing list emails:

    • The emails come with the standard mailing list headers according to RFC 2369, you definitely need List-Post with something like <mailto:list@foo.bar>
    • For replies only to the sender you either need a correct set From header field (must be the email of the sender, recipientA@foo.bar in the example) or the Reply-To header field in case you cannot change the From field

    This is slightly different from the Mailman approach but it works very well and you can be sure that your server does not have to deal with unwanted duplicates

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

Sidebar

Related Questions

I am currently working with a codeigniter PHP based application and have come to
I'm working on a class-based php web app. I have some places where objects
I'm working on javascript/jquery in a php based site, and I have to redirect
I am a web-developer working in PHP. I have some limited experience with using
Hej there, I am currently working on a PHP-based Tool to monitor a rather
I'm working with Aptana 3 to build a PHP-based web app using phpfog. I
I am currently working on integrating a PHP/MySQL-based e-commerce website I manage with the
I have a mailing list form I'm working on that is needing to have
I have a PHP based multi-threaded application that I'm try to get working with
I'm currently working on an MVC based PHP project. My script basically will be

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.