Closed

103145 Use PHP for Gmail, Hotmail

This project is now closed with a project budget of N/A.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
N/A
Project Description

I need sample codes for connecting to [url removed, login to view], [url removed, login to view], and yahoo mail using a PHP server. Any method will do as long as it works. I was trying out imap_open. I know gmail has a RSS, but it's over HTTPS, and I'm not sure how to connect to it. I need TESTED and working codes for connection.

Here's what I had:

$mail = imap_open('{[url removed, login to view]}', 'username(aaattt)[url removed, login to view]', 'password')

$headers = imap_headers($mail)

$last = imap_num_msg($mail)

$header = imap_header($mail, $last)
$body = imap_body($mail, $last)

imap_close($mail)


echo $body.$header

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online