Author |
|
lukaszkopocinsk Newbie
Joined: 09 February 2020 Location: Poland
Online Status: Offline Posts: 2
|
Posted: 10 February 2020 at 12:12pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 11 February 2020 at 1:05am | IP Logged
|
|
|
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 |
|
|
lukaszkopocinsk Newbie
Joined: 09 February 2020 Location: Poland
Online Status: Offline Posts: 2
|
Posted: 11 February 2020 at 1:33am | IP Logged
|
|
|
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 |
|
|