Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: Web API method SaveAttachmentsAsTempFiles Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lukaszkopocinsk
Newbie
Newbie
Avatar

Joined: 09 February 2020
Location: Poland
Online Status: Offline
Posts: 2
Posted: 10 February 2020 at 12:12pm | IP Logged Quote lukaszkopocinsk

Hello

I can getmessage and retrive attachemnt hashes, but i don't understand SaveAttachmentsAsTempFiles method.

This method should save attachment on server temp folder?

I'm using python and requests to web api.

Name Afterlogic WebMail Lite PHP
Version 8.3.15-build-a3
Back to Top View lukaszkopocinsk's Profile Search for other posts by lukaszkopocinsk
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6065
Posted: 11 February 2020 at 1:05am | IP Logged Quote Igor

The method you're referring to is used on composing a mail message. If you need to access attachments of email message on the server, that's done by sending GET request with /?mail-attachment/attachment_hash_here query string. You can see an example of such URL used when using View for attachments in webmail interface - except in that case, /view is appended additionally.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
lukaszkopocinsk
Newbie
Newbie
Avatar

Joined: 09 February 2020
Location: Poland
Online Status: Offline
Posts: 2
Posted: 11 February 2020 at 1:33am | IP Logged Quote lukaszkopocinsk

Thanks,
I can also get list of attachments trough Web API and get dwonload url from message.
'download': {'url': '?mail-attachment/jHcpfIjfEOzwcaNSlmlEer4w1k-_Z2wMFT_vI2iTrOzpJI9nPJU-ykfk92mQl2Mcw6o6fif'

--
Lukasz
Back to Top View lukaszkopocinsk's Profile Search for other posts by lukaszkopocinsk
 

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