muquit / mailsend

A program to send mail via SMTP from command line
Other
295 stars 68 forks source link

In-line attachment problem #24

Open muquit opened 10 years ago

muquit commented 10 years ago

From aditya.g...@tredence.com on October 17, 2013 09:48:15

What steps will reproduce the problem? 1. Using gmail, starttls

  1. use png as attachment
  2. specify i for in-line What is the expected output? What do you see instead? The image should come in the mail body, it comes in the attachment instead with name - Untitled attachment. What version of the product are you using? On what operating system? Using 1.17b12 on windows 8 Please provide any additional information below.

Original issue: http://code.google.com/p/mailsend/issues/detail?id=24

muquit commented 10 years ago

From aditya.g...@tredence.com on October 17, 2013 06:53:02

Same happens in version 1.16. Am I not using it correctly?

Code-mailsend1.16.exe -smtp smtp.gmail.com -port 587 -t ** -sub test -attach "sample.png,image/png,i" -name "***_" -starttls -auth-plain -user *_\ -pass ** -from ** -M "copyright"

muquit commented 10 years ago

From aditya.g...@tredence.com on October 17, 2013 06:58:26

Neither Outlook nor gmail shows it as in-line.

Is it possible to refer to an html document as the email message?

muquit commented 10 years ago

From muq...@gmail.com on October 18, 2013 20:37:55

Are you sure that your image is not corrupted? I tested with gmail and the image shows up inline fine. About outlook and inline attachment, please look at the FAQ Q# 1.

$ mailsend -v -smtp smtp.gmail.com -port 587 -t muquit@gmail.com -sub "testing inline attachment of a png image" -attach "linux_penguin400.jpg,image/png,i" -starttls -auth -user ZZZZZZ -from ZZZZZ -M "one line message"

Attachment: gmail_inline_test.png

muquit commented 10 years ago

From aditya.g...@tredence.com on October 18, 2013 23:15:40

Thanks for the reply but I want the image to be in the mail body and it is not coming so. Even in the screenshot you shared, it is not in the mail body.

muquit commented 10 years ago

From muq...@gmail.com on October 19, 2013 17:29:10

I guess I do not understand your question. If the attachment displayed in the mail reader, that means the inline attachment is honored by the mail reader. In outlook for example, even if the attachment is inline it does not get displayed in outlook, you have to click on the attachment to display or download.

muquit commented 10 years ago

From aditya.g...@tredence.com on October 21, 2013 23:01:34

My question is - Is there a way to embed the image in the mail body?

muquit commented 10 years ago

From aditya.g...@tredence.com on October 28, 2013 02:57:18

Any updates on this issue?

muquit commented 10 years ago

From muq...@gmail.com on December 10, 2013 15:16:29

Yes, support for embedding image with HTML is available in the latest source in svn, but I am changing lot of things at the moment. To see how it works, please look at the file test/embedded_image.html

muquit commented 10 years ago

From muq...@gmail.com on December 10, 2013 20:00:49

Status: Accepted

muquit commented 10 years ago

From aditya.g...@tredence.com on January 07, 2014 09:51:09

And where can I download the windows build for mailsend v1.17b15+?