Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: Use PHP to populate a Mailing list from a webpage Date: Thu, 17 Apr 2014 09:34:07 +0200 Lines: 32 Message-ID: <534F83EF.1020805@arnowelzel.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net v94UnwBYcZX/ppcTbSSrNgDDfRaYFY96b7ErTva0UR0YnCkc8g Cancel-Lock: sha1:Z5xtYVGBTX+IciZGJWfhtplxbK4= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 In-Reply-To: X-Enigmail-Version: 1.6 Xref: csiph.com comp.lang.php:13398 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@lists.domain.example"). OR: 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. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de