1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to retrieve email adresses from my users AdressBook

Discussion in 'PHP' started by nebhotep, Mar 12, 2008.

  1. #1
    Hi
    I want retrieve email adresses from my users AdressBook.
    So here is how I want it to do.
    A user creates a new account on my website, on registration, if he wants, i send en email to all his contacts, for inviting them to join the website.
    Something similar to the Hi5 option.

    Is this possible?
    Where can I find a script that does the job, or some tutorials?
     
    nebhotep, Mar 12, 2008 IP
  2. DopeDomains

    DopeDomains Guest

    Messages:
    207
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This cannot be done in PHP (or Javascript).. You might be able to do it in some Evil ActiveX control..

    If you wanted to send to all his gmail, MSN, or yahoo contacts, you could do it.. But you would need the users gmail/yahoo/msn login information.

    -Jason
     
    DopeDomains, Mar 12, 2008 IP
  3. Randombase

    Randombase Peon

    Messages:
    224
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    For Outlook / msn there is an option to export the contact details to a CSV file. If the user agrees to upload this you can parse it with a PHP CSV parser (plenty of free ones out there).
     
    Randombase, Mar 12, 2008 IP
  4. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #4
    I intend to ask the user for the login information, retrieve the informations, but I will not save login informations because I want to do this action only when he registers. It must be a way...but it is unknown to me...

    it can be an option, but this way users must export and after upload the file to my server. This is to complicated for a user, and they will not do it for sure.
     
    nebhotep, Mar 13, 2008 IP
  5. DopeDomains

    DopeDomains Guest

    Messages:
    207
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you are restricting it to a finite number of web based mail clients (Yahoo, MSN, Google), then yes you can do it.. Some curl, and page scraping, or an API or two.. You will have to customize it for each mail service though..

    -Jason
     
    DopeDomains, Mar 13, 2008 IP
  6. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #6
    do you know where I can find some articles about the subject or some tutorials?
     
    nebhotep, Mar 13, 2008 IP
  7. DopeDomains

    DopeDomains Guest

    Messages:
    207
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    google for "google mail api" or "google mail php"
    and "yahoo mail php"
    and "msn mail php" and see what you get. I don't know anything specifically, but that's where I would start.. and if I didn't find anything, I'd roll up my sleeves, and fire up some curl code..

    Or if I was lazy, post the project up on scriptlance, and find someone overseas to do it for $30..

    -Jason
     
    DopeDomains, Mar 13, 2008 IP
  8. nebhotep

    nebhotep Active Member

    Messages:
    244
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #8
    nebhotep, Mar 17, 2008 IP
  9. SimThePhpCoder

    SimThePhpCoder Well-Known Member

    Messages:
    949
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #9
    awesom, just whjat I been looaking for
     
    SimThePhpCoder, Mar 17, 2008 IP
  10. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #10
    nebhotep ..
    is this http://resource.bdwebwork.com/GrabYahoo/login.html
    site that you posted .. are you 'tapping' that info? lmao

    sorta like a direct in your face phisphing ? lol
    Im not saying it is, I was just asking you if it is.
    Does anyone enter their information on that thing? or are they aware enough to only do it on the real yahoo site? You might not want to spend a lot of time doing that thing because even if you did it with good intention , there's the reality that a lot of those off-site free scripts to 'help' you grab your information from an official site - can sometimes spill water from the bucket of information on their way back to you. lol

    and he really wants you to use it . SimThePhpCoder is acting as liasion and supplment reinforcement of the PR
    wow ..thats funny - I like :)

    P.S. nebhotep, if you really want to know the answer ..its a secret, so secret no one on earth can know - with great secrets come great responsibility.. so send me your Server FTP credentials..and it shall be delivered unto you .
    LOL..j/k dont really send me that
     
    ezprint2008, Mar 18, 2008 IP