• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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