[R] Add local image as inline embedded Image

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri Apr 7 18:29:31 CEST 2017


a) The email I am replying to should have been a reply to your original 
email [1]... it is not a complete picture of your problem, and you are not 
maintaining a thread of conversation.

b) I don't compose emails in R so I don't know what R package(s) you 
should use/look for. I recommend package "sos" or Google.

c) You need to spend some time learning how email works so you will 
understand what the email body needs to look like when you have finished 
constructing it (e.g. [2]). Study the MIME format [3]. If a package 
doesn't exist that helps, you can at least construct it yourself by 
pasting together the various pieces, but this is not the right forum to be 
asking questions about MIME.

[1] https://stat.ethz.ch/pipermail/r-help/2017-March/445787.html

[2] 
http://stackoverflow.com/questions/4018709/how-to-create-an-email-with-embedded-images-that-is-compatible-with-the-most-mai

[3] https://en.wikipedia.org/wiki/MIME


On Fri, 7 Apr 2017, Archit Soni wrote:

> Hi All,
>
> I am using mailR package to send emails by attaching my local image files.
> However the image still refers to my file location and never truly embeds
> the image in the email.
>
> This came up in testing when my colleague was getting a red cross instead
> of an image.
>
> Any thoughts to resolve this?
> Thanks,
> A
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                       Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k



More information about the R-help mailing list