FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Use PHP to populate a Mailing list from a webpage
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Use PHP to populate a Mailing list from a webpage [message #185592 is a reply to message #185589] Thu, 17 April 2014 15:15 Go to previous messageGo to previous message
Graham Hobbs is currently offline  Graham Hobbs
Messages: 42
Registered: September 2010
Karma:
Member
On Thu, 17 Apr 2014 10:49:44 +0000 (UTC), Denis McMahon
<denismfmcmahon(at)gmail(dot)com> wrote:

> 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 (to you principally, many thanks all),

Msgs rcvd, some understood, some need my looking into but I have a
starting point. A must "I do want the list on my home machine" - that
ends Mailman, right? LDAP idea I need to learn more. CSV seems to be
an answer, I think.

For another system, I have a php pgm running at my ISP's server (the
design/build not altogether my doing (a lot to do with you lot
actually):-) that receives user pages, extracts user filled fields and
emails them to a Pegasus client running on my home machine. A REXX
polls the Pegasus directory 24/7 and deals with each email as it
arrives - no manual intervention whatsoever.

Sounds like I could do exactly the same. I once only create a csv
file, append thereto as emails come in, and at the end of a day
manually import into Thunderbird, empty the csv file ready for a new
set of email addresses - sounds like a goer .. except I don't fully
understand your comments about 'easy way to take a group' - I wouldn't
want to have a bunch of csv files each with one address and have to
manually load into the Mailing list.

Feasible, sensible, any comments welcome but sort of getting away from
php - so Jerry, I know the story! :-))

Graham
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: select date from DATETIME field
Next Topic: 404 error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 21:02:07 GMT 2024

Total time taken to generate the page: 0.04623 seconds