この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
we are sending transactional email with attachment via message center.
Currently we dont have connection to sftp the file to the adobe server before the sent, we try to upload the file to the google cloud storage and generate the signed url, then pass to the rtevent. However this is not working. (error message: Unreachable Inbound email bounce (rule 'Probably_unreachable' has matched this bounce))
We have tried using a public link such as https://host/file.pdf, and it works perfectly fine. however if we tried pass the url as https://host/file.pdf?test=test, the attachment name received in the email is "file.pdftest=test". below is our current attachment configuration.
The signed url will have long query parameters with the authentication headers, which i think why it cause the email to bounce.
so the question is, is there a way to customize the attachment name?
Sample url is something like this:
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hi @chiDing,
You can also have a dynamic name to your attachment based on a value of a field from the request. e.g. <%= rtEvent.ctx.fileNameToShowInEmail %>
You need to go to the advanced tab of the "Attachment definition" window, and do the following. This way you can have a different name for every request.
Regards,
Ishan
found a solution myself:
added a Content-Disposition header with filename solve the problem.
Content-Disposition: attachment; filename="filename.pdf"
表示
返信
いいね!の合計
Hi @chiDing,
You can also have a dynamic name to your attachment based on a value of a field from the request. e.g. <%= rtEvent.ctx.fileNameToShowInEmail %>
You need to go to the advanced tab of the "Attachment definition" window, and do the following. This way you can have a different name for every request.
Regards,
Ishan
表示
返信
いいね!の合計
表示
返信
いいね!の合計