Zend certified PHP/Magento developer

Collect attachments from email

I have the task to setup SMTP server send a few emails with attachments to them and collect all of the attachments back. My first idea was to setup mailhog and set a directory where all sent mail to be saved. The issue is that mailhog doesn’t save emails in the given directory. I have installed it with homebrew and run ./Mailhog -storage “maildir” ./Mailhog -maildir-path “/some/path”. I’m desperate so any suggestions how to proceed or ideas how to do it will be appropriated. 🙂

Using Zend framework 3, MAMP

submitted by /u/teranshil
[link] [comments]