222482 Yahoo mail reader w/ Curl
N/A
Paid on delivery
This project needs to use PHP and CURL to login to Yahoo Mail and get the inbox and bulk msgs. No API usage. The script doesn't need to be pretty just the class to access things like this.
<?php
abstract class YahooMail
{
private $username;
private $password;
public function __construct($username,$password){
$this->username = $username;
$this->password = $password;
$this->login();
}
// logs into yahoo mail
protected function login(){}
// checks to make sure you're logged into yahoo mail
public function isLoggedIn(){}
// will scrape the titles of all bulk msgs
public function getAllBulkMsgs(){}
// scrapes the titles of all the inbox msgs
public function getAllInboxMsgs(){}
// gets passed the msg title and then goes to the msg to get the headers
public function getMsgHeaders($title){}
}
$ym = new YahooMail($username,$password);
$inbox = $ym->getAllInboxMsgs();
foreach($inbox as $msg){
echo $ym->getMsgHeaders($msg['title']);
}
please leave a msg on the msg board so I can ask you questions if I need to. Thank you and happy bidding.
Project ID: #1968717