Jump to content

[SOLVED] Adding Image to Emails


oceans

Recommended Posts

Dear People,

 

I want to add Image (*.jpg) to my HTML emails (automatically sent via my PHP codes, I am using “phpmailer” class to send emails).

 

Should I use “SRC”, as I would for my html pages?

 

Presently the components in my email are ordered and presented in a table.

 

If it is “SRC”, I will create an extra slot in the table and do the SRC.

 

If SRC, I do not know, when each time the email is being viewed the image is sent from my web server or from their email server. (I am concerned about my monthly bandwidth).

 

Thanks.

Link to comment
Share on other sites

Thanks Jitesh,

 

From your suggestion, it seems, each time the email is viewed, the image is being sent from my server and not from the viewer's email server.

 

Thus using my monthly bandwidth when they view the email (I am not trying to be petty, just conserned).

 

Thanks.

Link to comment
Share on other sites

the image is being sent from my server and not from the viewer's email server.
.

 

Nothing (regarding image) is sent from anywhere.

 

- When you are giving path (Must be full) for image it is searching the image at given path.If image is found.its displays.

 

- It is not compulsory that you are giving path regarding only your project.It may be anything.

www.domain1.com/1.jpg or www.domain2.com/1.jpg or anything. Only image must be available at given server path.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.