NetTalk Central

Author Topic: Embedded images  (Read 1530 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 417
    • View Profile
    • Email
Embedded images
« on: November 18, 2021, 12:41:26 AM »
Hi Bruce

I need a little help to handle embedded images in emails.
My problem is that if I download multiple emails with images (via POP) the first images in the folder are overwritten. Do you have a tip on how to avoid it?

Regards Niels

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11130
    • View Profile
Re: Embedded images
« Reply #1 on: November 21, 2021, 10:25:16 PM »
So, let's assume 2 incoming emails;
with different images
of the same name.

I guess your choices are;
a) store in different folders (one folder per email?)
b) rename incoming images - and tweak eml to point to new images
c) save images in a database, and extract when viewing the eml

Ultimately if you are making an email client then this sort of thing (not just with images, but any attachment) becomes important.

Cheers
Bruce

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 417
    • View Profile
    • Email
Re: Embedded images
« Reply #2 on: November 30, 2021, 10:30:56 PM »
Hi Bruce

Thanks for the feedback.
My challenge is where (embed point) to rename or place in another folder?
Of course it's in the Decide method.

/Niels
« Last Edit: November 30, 2021, 11:26:22 PM by Niels Larsen »