mailsend
mailsend copied to clipboard
Disposition always INLINE for attachments
I'm trying to send an atachment by this command, but I get always the attachment as inline, and not attached to the email:
mailsend -smtp smtp1.xxx.it -user xxx -pass xxx-disposition attachment -f [email protected] -H "xxx xxx" -t [email protected] -sub "xxx" -mime-type "text/html" -enc-type "8bit" -cs "us-ascii" -attach xxx.txt -M "xxx xxx xxx" -v
Could you help me soon?
Thank you!!!
I tried with mailsend v1.17b15, I do not see Content-Disposition of the attached file is inline. It's an hint to the mail reader, however some reader can display it as inline, may be that's what you're seeing? Thanks.
Here is what I see:
...... --QfO7L4XJry+MD0BO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline one html attachment 1 --QfO7L4XJry+MD0BO Content-Type: text/html; charset=us-ascii Content-Disposition: attachment; filename="test.txt" Content-Transfer-Encoding: 8bit ...... --QfO7L4XJry+MD0BO--