E
E
Elizabeth Lawrence2020-07-22 21:20:11
PHP
Elizabeth Lawrence, 2020-07-22 21:20:11

How to automate the process of downloading a file from mail and uploading it to the server?

Good evening! Tell me, are there any ways to automate the process of downloading a file with the balance from the supplier from the mailbox and uploading it to the server? The mailbox is registered for a domain and maintained by Yandex's "Mail for Domain" service. The logic is like connecting to the Yandex mail server, picking up letters, looking for a letter by name, downloading attachments, renaming and uploading to the server. Are there any tools to help you achieve your goals? I'm thinking of somehow organizing everything in PHP and launching the execution of this php file by cron.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2020-07-22
@Svoeobraznaya

Cron + https://github.com/barbushin/php-imap

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question