Closed GoogleCodeExporter closed 8 years ago
Original comment by blairk...@gmail.com
on 29 Nov 2011 at 4:48
It's simpler that you expect. From the current message just
var attachments = currentMessage.getAttachments();
then attach to send in the args
GmailApp.sendEmail(....stuff, ... {attachments: attachments} )
Original comment by peter.he...@gmail.com
on 2 Dec 2011 at 1:39
whoa! awesome! thanks Peter!
Original comment by blairk...@gmail.com
on 2 Dec 2011 at 4:37
Fixed in 0.7.4 (sneak peak:
https://docs.google.com/spreadsheet/ccc?key=0AgKSjMWgSECadDhtVVlOUXFLTmktSUdrZXB
lZjVQeEE)
With Peter's awesome suggestion (who thought it was that easy) attachments are
working!
(the google script api documentation:
http://code.google.com/googleapps/appsscript/class_gmailapp.html#sendEmail says
that attachments/emails over 20K will not be send, but I was able to attach a
multi MB picture in my testing and it worked ok. Maybe they aren't enforcing it
yet?)
Would love to hear if other people are able to send things over the supposed
20K limit.
Original comment by blairk...@gmail.com
on 3 Dec 2011 at 6:41
Original comment by blairk...@gmail.com
on 18 Dec 2011 at 9:32
the attachment work perfectly but embedded files are somethings else... i tried
to send a message with embedded pictures but my sister did not see the
pictures...thanks
Original comment by barbrown...@gmail.com
on 11 Jun 2012 at 5:19
Hello Barbrownium,
Sorry that the embedded pictures aren't working for you. But what exactly is an
embedded image? Is it embedded in HTML? How can I reproduce it?
Thanks!
-Blair
Original comment by blairk...@gmail.com
on 12 Jun 2012 at 7:35
you know when you click that "insert image" from google labs? there would be
two choices, attach from "my computer" or from a web-address url.. i was
sending messages by inserting images from "my computer" but my friends are not
seeing the pictures... i am sorry i don't know how to explain it better...
anyways, my grand son was able to teach me how to use some web based site to
save the pictures and use the web-address url option... that worked...
thank you...
Original comment by barbrown...@gmail.com
on 13 Jun 2012 at 5:16
Original issue reported on code.google.com by
blairk...@gmail.com
on 29 Nov 2011 at 4:47