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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:43:25+00:00 2026-05-27T11:43:25+00:00

I have a mailing list form I’m working on that is needing to have

  • 0

I have a mailing list form I’m working on that is needing to have the users email subscribed to multiple email lists based on which checkboxes they select. Now to subscribe to the mailing list it’s simply emailing – list_#@domain.com

I’m curious if something like this is possible using PHP only and then send the email to different lists based on if the associated checkbox is checked?

  • 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-27T11:43:26+00:00Added an answer on May 27, 2026 at 11:43 am

    Sure thing! Just use PHP’s mail function to send messages to the desired recipients from the email address the users specify in your webform.

    One caveat, though: you may run into trouble with some mail servers and artificially-created ‘From’ headers (like those used in the mail function). For security reasons, if a message appears to be disingenuous about where it’s coming from (i.e: an unexpected sender IP), some servers will blacklist the offending IP, making it impossible to send mail from that IP to that server. You may be better-off including the subscriber’s address in the subject or body of the email, and using that data (as opposed to the From header) to add recipients to your mailing list.

    EDIT: It’s also worth noting that, if the possibility exists to subscribe to many mailing lists (read: send many emails) in one execution of your mailing script, you might want to forego mail() for something like PEAR’s mail package. The reason for this is that mail() has to open a new SMTP socket for every message it sends, whereas packages like the one mentioned above are better suited for sending mail in batch.

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

Sidebar

Related Questions

I have a form for a mailing list script which I am trying to
I have a simple form for a mailing list that I found at http://www.notonebit.com/projects/mailing-list/
I am working on a PHP based mailing list using PHPmailer. Currently I have
Somehow, a simple form I have to sign up for a mailing list (which
I have seen documentation on the IronPython mailing list that describes how to write
I have a mailing list form to sign up to a mailing list and
I have from time to time heard mention of a mailing list or lists
I have seen this question being asked multiple times on the R mailing list,
I got a mail from mailing list which says that if actions on volatile
I have an email mailing list table. There is an activation key for each

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.