Page 1 of 4

How to embed images stored in my app into an email using SendGrid?

Posted: Thu Oct 30, 2014 8:11 pm
by Mark6921260

I have images stored on the app that are displayed at times.
Image
They are stores at the following location: files/views/assets/images/something.png

I am wanting to add a image from this folder into an email by embedding it.
I have tried the following:
Image

However when the email is delivered I only get this.
Image

Is it possible to take an image stored on my app and embed it into an email?


How to embed images stored in my app into an email using SendGrid?

Posted: Thu Oct 30, 2014 8:54 pm
by Evgene Karachevtsev

Hello Mark,

You put the relative url of the picture in base64 and of course it doesn't work.
Could you please specify, it will be html5 app or a hybrid app?


How to embed images stored in my app into an email using SendGrid?

Posted: Fri Oct 31, 2014 11:42 am
by Mark6921260

Hi Evgene,

This will be a hybrid app.


How to embed images stored in my app into an email using SendGrid?

Posted: Sun Nov 02, 2014 11:07 pm
by Yurii Orishchuk

Hi Mark,

Please use full path URL;

Example:

pre

http://appery.io/app/view/b2e54cdb-3726-4f19-a8d8-5fd6a2eed5f7/files/views/assets/image/a_01.jpeg

/pre

Here you should replace "b2e54cdb-3726-4f19-a8d8-5fd6a2eed5f7" with yours "app id".

And "a_01.jpeg" with your image name.

Regards..


How to embed images stored in my app into an email using SendGrid?

Posted: Mon Nov 03, 2014 7:42 pm
by Mark6921260

That worked.
Thanks


How to embed images stored in my app into an email using SendGrid?

Posted: Sat Nov 08, 2014 8:52 am
by Alex GG

Hi Yurii, Mark

I ́m also trying to embed images and send them using sendgrid..

I ́ve manage to send text, but couldn ́t make it works with images...

I using full path URL, and only receive the url, that after clicking on it opens the image on new screen...

What code should I use to send the image itself and see the image along the text?

Im using this code:

Image


How to embed images stored in my app into an email using SendGrid?

Posted: Sat Nov 08, 2014 5:50 pm
by Alex GG

could anyone help me with this? its really urgent...

Regards


How to embed images stored in my app into an email using SendGrid?

Posted: Sat Nov 08, 2014 5:54 pm
by obullei

Hello!

We are working on it.
I will let you know when have more information from developers team.


How to embed images stored in my app into an email using SendGrid?

Posted: Sun Nov 09, 2014 12:24 am
by Mark6921260

Hi Alex,

Sorry I have a second job on the weekends, but I wanted to send you my 2 cents on adding inline images.
In the end, I took the path of not embedding inline images with my email for the following reasons:

  1. Not all email providers allow inline images to be displayed in emails.

  2. Because of a few jerks who choose to lace these images with virus, most email providers send emails with embedded images straight to the junk folder as spam.

    There a plethora of links to articles as to why you shouldn't embed images with your emails. Here is one- (http://emailmarketing.comm100.com/ema... ) .

    But maybe those at Appery.IO have an idea to implement this. They are really smart and helpful, as well as patient.


How to embed images stored in my app into an email using SendGrid?

Posted: Sun Nov 09, 2014 5:09 am
by Alex GG

Hi Mark..thanks for your advice...

But that is not problem for me...Im using my email account to seng me emails from my customers...

So I really need to embed images or attach them in the email...

I hope Appery team could help me with this...

Regards