Sharing CSV file through email

My app creates a CSV file (e-mail.csv).
In order to look at it, if I change e-mail.csv to e-mail.txt, I get this:


So far, looks like what I would expect.

If I:

  1. copy e-mail.csv to my laptop.
  2. open my private email
  3. attach e-mail.csv
  4. send it to myself
  5. then click on the attachment in the received email
  6. e-mail.csv downloads to the download directory of my laptop
  7. after double clicking on the downloaded e-mail.csv file and clicking 'OK' on the resulting "Text Import" window I get this:

    This looks exactly like what I'm trying to accomplish.

But, if instead I:

  1. pick "Gmail" or "Email" from the Sharing list in my app
  2. enter my private email address
  3. send it
  4. then click on the attachment in the received email,
    e-mail.csv does not download to my laptop's download directory.
    Instead, it opens in a new browser tab:
    tab

If I copy and paste this text to a csv file, then double click that csv file and then click "OK" on the resulting "Text Import" window, I get this:


Cells circled in red are deviation from the correct spreadsheet shown earlier.
Summary:

  1. e-mail.csv seems to be constructed correctly since it opens correctly after being moved to my laptop and opened there.
  2. Emailing the same e-mail.csv file in either of two different ways ( via my private email, and via AI2 Sharing) results respectively in:
    a) a correct spreadsheet
    b) a corrupted text that produces a corrupted spreadsheet

Question:
Is this a bug or am I not using the Sharing block correctly?

Seems that noone has a direct answer for you....

Perhaps provide an example aia project that replicates this behaviour for others to try? (of course, provide an empty variable for email address, etc.)

To summarize my issue in a different manner:

  1. if (within my app) I share a txt or csv file to ****@juno.com, the attachment received by ****@juno.com opens in a new tab instead of downloading.
  2. if I email the same attachment from ****@juno.com to ****@juno.com, the attachment received by ****@juno.com downloads and opens correctly on my laptop.

But, I have since found that if (within my app) I share a txt or csv file to ****@gmail.com, the attachment received by ****@gmail.com downloads and opens correctly on my laptop.

The solution seems to be to not share txt or csv files to ****@juno.com.

Thank you for considering my issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.