Attached file name of send email can't be displayed properly

When sending an email with an attachment in Bubble, the file name gets garbled if it is in Japanese.
How can I attach the file without the file name getting garbled?

I’m using original function of Send email.

Here is the image of attached file which I received from bubble.
image

Here is an image of action in Bubble.

You need to encode the file name . You should install toolbox plugin after that you can code of javascript something like below one :

<script>
  function encodeFileName(fileName) {
    return '=?UTF-8?B?' + btoa(unescape(encodeURIComponent(fileName))) + '?=';
  }
</script>

Add file name on which you want to sent by email like below one :

encodeFileName("あなたのファイル名.txt");

after setuping workflow it will work for you. Your file name send by email with proper name.

@ujjavalt.itpath
Thank you for your prompt response.
The issue is that I can’t find the place to set file name.
If I use the plugin “Sendgrid”, I can find the place to set file name.
However, in case I’m using default function of “Send email”, there is no place to set file name like below.
Just putting File.

Due to stability issue of the plugin “SendGrid”, I’m thinking to use Send email function.

Bubble doesn’t provide feature to set file name by using default function ‘send email’. basically file name derived from file url. So, if you want to set file name you have to use SendGrid plugin withou plugin right now not possible to set file name.

1 Like

Noted well. Thank you!

This topic was automatically closed after 70 days. New replies are no longer allowed.