Re: Use PHP to populate a Mailing list from a webpage [message #185589 is a reply to message #185588] |
Thu, 17 April 2014 10:49 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Thu, 17 Apr 2014 09:34:07 +0200, Arno Welzel wrote:
> Graham Hobbs, 2014-04-17 05:26:
>
>> I am at PHP 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.
>
> This is not possible, since Thunderbird is not running on the same
> computer as your website.
>
> Two ideas:
>
> If you want to maintain mailing lists on the server you need software
> like Mailman. This can be installed additionally to the webserver and
> you can use the command line interface of mailman to add users to
> existing mailing lists which will then accept mails using a "virtual"
> e-mail address (e.g. "customers(at)lists(dot)domain(dot)example").
Observation to the OP: If you do this, you will need to ensure that
mailman only sends mail that is genuinely from you somehow, otherwise
there is a risk, if the virtual email address is ver exposed, of spammers
using your server to spam people on your mailing list.
> Setup an LDAP server and use the LDAP directory as address book in
> Thunderbird. From PHP you can then also add members to the LDAP
> directory.
Thunderbird can also import address book data from csv files, but it
doesn't seem to have an easy way to take a group of existing email
addresses and put them in a mailing list :(
--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
|
|
|