Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: Help for get attachments with API PHP Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
pcwebservice
Newbie
Newbie
Avatar

Joined: 03 July 2021
Location: France
Online Status: Offline
Posts: 8
Posted: 03 July 2021 at 10:07am | IP Logged Quote pcwebservice

Hello,

I am using your awesome PHP api. I am able to retrieve the folders and emails, but I am unable to get and save the attachments for display in the email view. Could you help me please.
Back to Top View pcwebservice's Profile Search for other posts by pcwebservice
 
pcwebservice
Newbie
Newbie
Avatar

Joined: 03 July 2021
Location: France
Online Status: Offline
Posts: 8
Posted: 03 July 2021 at 12:05pm | IP Logged Quote pcwebservice


In case anyone else has this problem, the solution is:

You have to pass the 'GetMessage' method

Code:

$oMessage = $oMailDecorator->GetMessage($AccountID, $Folder, $Uid);
$aMessage = $oMessage->toResponseArray(array('Method'=>'GetMessage')));

Back to Top View pcwebservice's Profile Search for other posts by pcwebservice
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide