Jump to content

Save Email Attachment to Server


sw9

Recommended Posts

Hi All,

 

I have been searching all over to find an answer to this question. I have tried a bunch of scripts, and all of them seem to fail on me. I am still a PHP newbie, so I may be getting confused by the imap_fetchstructure function, but it never seems to work!

 

I have a dedicated gmail account that is emailed daily a Google Analytics report that's in csv format. I need a php script that will open the email and save the attachment to a specific folder on my server. Then after it's done that, I want it to delete the message from gmail.

 

Can anyone help me with a script on this? I would greatly appreciate it!

Link to comment
https://forums.phpfreaks.com/topic/118115-save-email-attachment-to-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.