Created
August 2, 2012 08:56
-
-
Save luxifer/3235580 to your computer and use it in GitHub Desktop.
Mail Attachment management demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
require_once("attachmentread.class.php"); | |
$host="{host:port/params}BOX"; // voir http://fr.php.net/imap_open | |
$login=""; //imap login | |
$password=""; //imap password | |
$savedirpath="./" ; // attachement will save in same directory where scripts run othrwise give abs path | |
$jk=new MailAttachmentManager($host, $login, $password, $savedirpath); // Creating instance of class#### | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment