Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8086447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:26:55+00:00 2026-06-05T18:26:55+00:00

Possible Duplicate: base64 encoded images in email signatures I have a image stored in

  • 0

Possible Duplicate:
base64 encoded images in email signatures

I have a image stored in database.I need to to insert that image alongwith email signature wich is only text right now.I was planning to use image tag
that will point to servlet as shown below which will internally fetch the image from database and send it as byte stream inside response. This approach works fine
till i send the mail to the user in the same application . Because my application authenticate/entertains the request only if the
request is coming from logged in user.So when i send the email to a person who also exist in my application and logged in can see the image(inserted
with signature). Problem comes when user sends the mail to external domain like gmail.com, yahoo.com. So if i send the mail to gmail user, he can not
see the image in signature as the servlet request sent by image tag will not be entertained as user does not belong to my application? I am not sure
whats the best approach/way to insert the image in email signature?

img src="/path/toMyServlet.action"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:26:58+00:00Added an answer on June 5, 2026 at 6:26 pm

    Instantly thought of base64 when I read your question however I certainly had problems with base64 images displaying in gmail in my last role so ended up not using it. I think the best solution would be to embed the image in the header of the email and both approaches are documented at base64 encoded images in email signatures.

    Hope that helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Passing base64 encoded strings in URL I am working on creating a
Possible Duplicate: get image from base64 string I tried header('Content-Type: image/png'); echo base64_decode($data);` But
Possible Duplicate: MySQL retrieve latest record for Group I have a query that groups
Possible Duplicate: embedding background image data into css as base64, good or bad practice
Possible Duplicate: PHP 2-way encryption: I need to store passwords that can be retrieved
Possible Duplicate: How to retriving base64 strings(large image) from server to android well i
Possible Duplicate: Can JavaScript connect with MySQL? I have a database with names and
Possible Duplicate: RegEx to parse or validate Base64 data How to validate Base64 string
Possible Duplicate: Does C# have extension properties? I have the following: public static class
Possible Duplicate: foreach and simplexml I have got my XML document loading correct but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.