Create and Manipulate Emails anywhere, any platform

No Software download required. Forget about platform, just send a REST API call to Convert email messages in your application.

  Start Free Trial
Aspose.Email Cloud SDK for PHP

Aspose.Email Cloud SDK for PHP

 
 

Aspose.Email Cloud SDK for PHP is developed on top of Cloud REST API and provides you the capabilities to create email archiving applications that work with common email file formats. It lets developers manipulate message formats such as Outlook MSG, EML and MHT files.

 

Advanced Email Conversion Features

 

 

Create New email

 

Convert between message formats

 

Add attachments to email

 

Access message properties such as From, To, CC and Subject

 

Download attachments from message files

 

Set Email Properties

Jump start using Email Management SDK

No Software download required. It is easy to get started with Aspose.Email Cloud SDK for PHP and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.Email Cloud SDK for PHP a try with any language - on any platform that supports HTTP requests and responses. It's developed on top of REST API and can be used to create email archiving applications capable of managing and manipulating email messages.

Conversion between Popular Email Formats

With a well structured implementation, Aspose.Email Cloud SDK for PHP allows developers to convert hosted email messages on the fly as well as retrieve them from a mailbox. It can be used to convert between EML, MSG and MHT email formats.

Convert EML to MSG format - PHP


AsposeApp::$appSID = Utils::appSID;
AsposeApp::$apiKey = Utils::apiKey;
$this->email = new EmailApi();
Utils::uploadFile("email_test.eml");
$result = $this->email->GetDocumentWithFormat("email_test.eml", "msg");
print_r($result);

Retrieve Message Properties

Aspose.Email Cloud SDK for PHP provides the leverage to read and retrieve all or specific email properties such as From, To, Subject, Bcc, CC, Body, Date, Priority, Attachments etc.

Retrieve Subject property from email - PHP


AsposeApp::$appSID = Utils::appSID;
AsposeApp::$apiKey = Utils::apiKey;
$this->email = new EmailApi();
// Upload file to Aspose Cloud Storage
Utils::uploadFile('email_test.eml');
$result = $this->email->GetEmailProperty($propertyName = "Subject", 'email_test.eml');
print_r($result);

Download Email Attachments

Aspose.Email Cloud SDK for PHP enables the developers to access and download message attachments from a mailbox store via common communication protocols such as IMAP and POP3.

 

Support and Learning Resources