Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1994 > unrolled thread

comment utiliser l'addresse book de thunderbird

Started byAndre <pas@pourmois.be>
First post2011-06-05 09:06 +0000
Last post2011-06-06 09:22 +0000
Articles 5 — 4 participants

Back to article view | Back to comp.lang.php


Contents

  comment utiliser l'addresse book de thunderbird Andre <pas@pourmois.be> - 2011-06-05 09:06 +0000
    Re: comment utiliser l'addresse book de thunderbird Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-05 08:37 -0400
    Re: comment utiliser l'addresse book de thunderbird "Peter H. Coffin" <hellsop@ninehells.com> - 2011-06-05 13:09 -0500
    Re: comment utiliser l'addresse book de thunderbird Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-06-05 21:31 +0000
      Re: comment utiliser l'addresse book de thunderbird Andre <pas@pourmois.be> - 2011-06-06 09:22 +0000

#1994 — comment utiliser l'addresse book de thunderbird

FromAndre <pas@pourmois.be>
Date2011-06-05 09:06 +0000
Subjectcomment utiliser l'addresse book de thunderbird
Message-ID<4deb4728$0$14253$ba620e4c@news.skynet.be>
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

[toc] | [next] | [standalone]


#1996

FromJerry Stuckle <jstucklex@attglobal.net>
Date2011-06-05 08:37 -0400
Message-ID<isft9g$aes$2@dont-email.me>
In reply to#1994
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@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#1999

From"Peter H. Coffin" <hellsop@ninehells.com>
Date2011-06-05 13:09 -0500
Message-ID<slrniunhic.t61.hellsop@nibelheim.ninehells.com>
In reply to#1994
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.

[toc] | [prev] | [next] | [standalone]


#2001

FromDenis McMahon <denis.m.f.mcmahon@gmail.com>
Date2011-06-05 21:31 +0000
Message-ID<4debf5b2$0$13337$bed64819@gradwell.net>
In reply to#1994
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

[toc] | [prev] | [next] | [standalone]


#2005

FromAndre <pas@pourmois.be>
Date2011-06-06 09:22 +0000
Message-ID<4dec9c55$0$14247$ba620e4c@news.skynet.be>
In reply to#2001
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web