Re: Use PHP to populate a Mailing list from a webpage [message #185591 is a reply to message #185586] |
Thu, 17 April 2014 14:49 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Graham Hobbs wrote:
> I am at PHP 101 level.
Pardon my saying so, but you are at *Internet* 101 level.
> I have a webpage that asks a user to enter their name in one box, email
> address in another and click send. That's works OK (almost):-).
>
> I also have created an empty Mailing list 'List-B' in my Mozilla
> Thunderbird to which I want to automatically add the email addresses
> sent from the webpage.
Not reasonably possible. *Such* a "Mailing list" is maintained client-side.
The Web application processing the user input runs server-side. Also be
sure that you have users confirm from their e-mail accounts that they really
want to subscribe (opt-in).
You appear to have a misconception of the term “mailing list” and its
implementation. What you can maintain in e-mail clients is a distribution
list which is something else. Look up those terms.
> When the page gets back to my PHP pgm, can it add the email address to
pgm?
> my mailing list without manual intervention?
Only if you are maintaining the mailing list or distribution list server-
side.
> Am not fond of mixing languages, etc so a pure PHP solution would be
> appreciated unless design wise not clever.
AFAIK the most common mailing list management software, Majordomo, is
written in Perl.
> Have googled, not found anything closely relevant.
“PHP mailing list” yields a lot of relevant results among the 161'000'000
hits. Indeed, the first hit, ListMessenger, is relevant already.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
|
|
|