Completed

Read incoming emails and save it in Ms Sql Server

Published on the January 13, 2020 in IT & Programming

About this project

Open

Read incoming emails and save it in ms sql server
read all attachments and save it in specific folder and name of files to access as links in ms sql server
if possible i need code in classic asp
if in php i want you to install php on my iis web server on cloud and implement it also with one demo and help file.
<?Php
$hostname = "{imap.gmail.com:993/imap/ssl}INBOX";
$username = "testmail@gmail.com";
$password = "password";
$inbox = imap_open($hostname,$username,$password) or die('Cannot connect to Gmail: ' . Imap_last_error());
$emails = imap_search($inbox,'UNSEEN');
if($emails) {
    $output = '';
    rsort($emails);
    foreach($emails as $email_number) {
        $message = (imap_fetchbody($inbox,$email_number,1.1
));
        if($message == '')
        {
            $message = (imap_fetchbody($inbox,$email_number,1));
        }
        $array = explode("\n", $message);
    }
    print_r($array);
}
imap_close($inbox);
?>

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have I have the design
Required availability As needed
Roles needed Developer

Delivery term: January 31, 2020

Skills needed