comment utiliser l'addresse book de thunderbird [message #174332] |
Sun, 05 June 2011 09:06 |
Andre[1]
Messages: 7 Registered: June 2011
Karma: 0
|
Junior Member |
|
|
How to access the thunderbird's address book.
I am writing a script that send a file by e-mail, and I would like to
select e-mail adresses from thunderbird. Is there a way to do this either
in php or in perl.
Many thanks in advances
Andre
|
|
|
Re: comment utiliser l'addresse book de thunderbird [message #174334 is a reply to message #174332] |
Sun, 05 June 2011 12:37 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 6/5/2011 5:06 AM, Andre wrote:
> How to access the thunderbird's address book.
> I am writing a script that send a file by e-mail, and I would like to
> select e-mail adresses from thunderbird. Is there a way to do this either
> in php or in perl.
> Many thanks in advances
> Andre
No. PHP runs on the server. The address book is on the client. Server
scripts cannot access resources on the client.
And for security reasons, not even a client-side language such as
javascript can access it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|
Re: comment utiliser l'addresse book de thunderbird [message #174336 is a reply to message #174332] |
Sun, 05 June 2011 18:09 |
Peter H. Coffin
Messages: 245 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On 05 Jun 2011 09:06:48 GMT, Andre wrote:
> How to access the thunderbird's address book.
> I am writing a script that send a file by e-mail, and I would like to
> select e-mail adresses from thunderbird. Is there a way to do this either
> in php or in perl.
Bearing in mind Jerry's caveat that you can't do this from a website
to a client at all, you can have a script on your machine, running php
there, to read your own Mozilla address boo. The file format that the
mozilla address books are in is a Mork file database, which is a very
elaborate text format that can be easily parse into data sturctures.
There's parser libraries for perl, python, c++ but not yet for php. Some
details of the format can be found at https://wiki.mozilla.org/Mork .
--
If you've got the luxury to kvetch about having to reinstall software or
do yardwork, life's okay.
|
|
|
Re: comment utiliser l'addresse book de thunderbird [message #174338 is a reply to message #174332] |
Sun, 05 June 2011 21:31 |
Denis McMahon
Messages: 634 Registered: September 2010
Karma: 0
|
Senior Member |
|
|
On Sun, 05 Jun 2011 09:06:48 +0000, Andre wrote:
> How to access the thunderbird's address book. I am writing a script that
> send a file by e-mail, and I would like to select e-mail adresses from
> thunderbird. Is there a way to do this either in php or in perl.
> Many thanks in advances
> Andre
You sound like you could be a spammer who has discovered that thunderbird/
firefox, unlike outlook / explorer, does not allow your trojan scripts to
raid address books from the web browser and send out your spam emails.
Why should we exercise ourselves to help you find a way around this
commendable security feature?
Rgds
Denis McMahon
|
|
|
Re: comment utiliser l'addresse book de thunderbird [message #174342 is a reply to message #174338] |
Mon, 06 June 2011 09:22 |
Andre[1]
Messages: 7 Registered: June 2011
Karma: 0
|
Junior Member |
|
|
Le Sun, 05 Jun 2011 21:31:31 +0000, Denis McMahon a écrit :
> On Sun, 05 Jun 2011 09:06:48 +0000, Andre wrote:
>
>> How to access the thunderbird's address book. I am writing a script
>> that send a file by e-mail, and I would like to select e-mail adresses
>> from thunderbird. Is there a way to do this either in php or in perl.
>> Many thanks in advances
>> Andre
>
> You sound like you could be a spammer who has discovered that
> thunderbird/ firefox, unlike outlook / explorer, does not allow your
> trojan scripts to raid address books from the web browser and send out
> your spam emails.
>
> Why should we exercise ourselves to help you find a way around this
> commendable security feature?
>
> Rgds
>
> Denis McMahon
I should have told that, I run a linux server with apache, php, mysql and
I also use it as my own pc with thunderbird, an firefox.
Many thanks for the answers.
|
|
|