• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

attachment saved to server

What is the easiest way save .csv attachments in an email to server? I've tried a few code but am getting no results.

I would greatly appreciate if anyone has a functioning script that does this they can share with me :)

Thanks in advance
0
AtDev
Asked:
AtDev
1 Solution
 
ebosscherCommented:
well, what stage is that at?  you'll need to do the following things:

1.  Create a connection to a POP3 server
2.  Validate a user against that server
3.  Find the emails containing .CSV files
4.  Extract the file contents from the message body (MIME part)
4.  Decode the file if required (it may be base64 encoded, although with it being text it's unlikely)

unless you already have a different solution partially implemented?
0
 
AtDevAuthor Commented:
All my solutions have failed so I am at #1 :-(
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now