Describe the problem/error/question
Dear community,
we are trying so send images as attachment using the smtp node. Unfortunatelly the attachments are not shown as valid attachments on receiver side. It works when using other binaries like e.g. zip files or pdfs. The problem only occurs when sending the email as html. When sending it as plain text it works as expected. The binary somehow seams to be within the mail, because the size of the mail matches the content including attachment.
Thanks for helping out.
What is the error message (if any)?
There are no error messages, email is send, but attachments are not seen on receiver side.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.123.6
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system:
Hey @fwerkmeister !
Can you share an image age with the output of HTTP node and the SMTP how you configure and see the images there?
Somehow the file extension is not beeing passed further…
Cheers!
Hi @Parintele_Damaskin,
thanks for having a look. Here are the screenshots:
HTTP Node Output:
Input of SMTP Node:
Configuration (Attachment)
Regards,
Felix
Hmmm… weird .
The receiiving mail clientt likkely formatting the image data using the content-disposition inline header instead of attachmentt…
Hi @Parintele_Damaskin,
do you think this is a bug within the smtp node? Actually there’s not much to change from configuration or workflow side.
Hey @fwerkmeister !
If you tell me the client that is receiving the email(Google etc…) maybe I can try reproduce it as well.
Can you share the exact SMTP node with your configurations?
Cheers!
Hi @Parintele_Damaskin ,
the client is outlook. The email is send through an self hosted exchange server (I don’t have details, just got the connection params). But I just send the email to my gmail address and gmail obviously detects the attachment.
And here is the configuration of the “Send email” node.
Regards,
Felix
1 Like
Then we are in the same boat
in the ocean lol… and I can’t reproduce that.
But gmail seems to work OK, then the configuration for your specific case it doesn’t… sorry my friend, can’t help further
…
Cheers!
Understood… Anyway, thanks for your help and merry christman 
1 Like