BookmarkSubscribeRSS Feed
nickb
Calcite | Level 5
I'm looking for a way to grab an email attachment and be able to use the CSV file to load in a dataset. Is this possible? I was thinking that I would have the email auto forwarded to a mailbox that I have access to, so I can read it or save it.

Thanks,
Nick
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
Is the email attachment a CSV file??? If the CSV file is accessible to SAS on a disk location, then you should be able to read the CSV file with PROC IMPORT or a DATA step program. I am not sure that SAS would be able to "grab" the email attachement while the file was still on a mail server or still attached to a mail message. This would be a question for Tech Support.

To send a question to Tech Support, go to http://support.sas.com/ and in the left-hand navigation pane, click on the link entitled "Submit a Problem". Alternately, you can go directly to the Tech Support Problem Form here:
http://support.sas.com/ctx/supportform/createForm

cynthia

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1342 views
  • 0 likes
  • 2 in conversation