Mark6921260
Posts: 0
Joined: Mon Jun 09, 2014 3:35 pm

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

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?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

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

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?

Mark6921260
Posts: 0
Joined: Mon Jun 09, 2014 3:35 pm

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

Hi Evgene,

This will be a hybrid app.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

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

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..

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

Regards

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

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

Hello!

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

Mark6921260
Posts: 0
Joined: Mon Jun 09, 2014 3:35 pm

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

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.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

Return to “Issues”