I have problem in sending email with attachment which file name includes Chinese character by mailman.
The file name of attachment in email looks incorrect. What should I do to make file name display as normal in attachment.
snapshot about attachment with wrong file name
elixir
def compose(reusme_path, resume_name, email, subject, text) do
%Mailman.Email{
subject: subject,
from: "career@xxx.com",
to: [email], # should be [email] arg
html: "<html><body>
<div>#{text}</div>
<br>
<br>
<br>
<img style='width: 200px; height: 200xp;'
src='https://cavi-cdn.b0.upaiyun.com/resumes/attachments/rX63jEjNq3Zs7hiQKvDBqY5CBl4peBMT/WechatIMG49.jpeg'/>
</body></html>",
attachments: [
Mailman.Attachment.inline!(reusme_path, "#{subject}.pdf")
]
}
end
So, How to configure mailman Or what should I do to solve this problem. Thanks.