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 #185590 is a reply to message #185589] Thu, 17 April 2014 12:56 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 17/04/14 11:49, Denis McMahon 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 :(
>

If the security of the site IS in fact assured you can use PHP to output
a mailto: URL that can contain dozens of mail addresses.

In this case the web server IS the address book.,

A link that says

<a HREF="mailto:To@domain?bcc=recipent@domain,reciepen@domain">Click
here to send mail</a>

is the sort of thing..





--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[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: Thu Nov 28 02:56:13 GMT 2024

Total time taken to generate the page: 0.04779 seconds