The taxsim email bot

If you mail to taxsim@nber.org with an attachment named "txpydata.csv", and that attachment is a plain ASCII .csv file as documented on the taxsim35 webpage. you should get a return email with the a .csv file of the calculated results.

The file can't be zipped or otherwise compressed, and must be ASCII, not binary. Emailed files are limited to 20 megabyte. It is likely that your mail server restricts the size of email messages to a much smaller amount. It may be that the returned file is too large for your server, in which case you will get no message. nnThe results from the last submitted file are available at http://taxsim.nber.org/email-results until the next user submits a file. Note this means there is no privacy in this mode of service.

cURL can be used to submit taxsim files from the command line:

curl smtp://mail2.nber.org --mail-rcpt taxsim@nber.org -F "type=multipart/mixed" -F "file=@txpydata.raw;type=text/plain"
last update 19 February 2022 by feenberg@nber.org