• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Embedding Image Data in a Component Email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding Image Data in a Component Email


  • Subject: Re: Embedding Image Data in a Component Email
  • From: Ashley Aitken <email@hidden>
  • Date: Thu, 17 Jun 2004 11:37:27 +0800

Hi Greg,

On 16/06/2004, at 12:42 PM, Greg Hulands wrote:
I am generating an email that contains a dynamically generated image in it. I have a method in the component that returns the NSData for the image, but when it sends the email, it only has a link to the image, and not the image data itself. Because the link to the component will no doubt be invalid by the time the recipient wants to view the image means that the current way is no good. Is there some way for the component to embed the image data some how?

How about a lateral solution: store the image in the database and use a direct action to access it when the user reads their email. This way the image could still be embedded in the emailed component.


Alternatively, if you don't require the image to be embedded in the emailed component, then you can do as (I think) Chuck is suggesting. Just include the image as an attachment - Project WONDER should help you do that relatively easy.

I think the difficult part would be trying to put the image as an attachment and still have it appear in the emailed component.

Disclaimer:  I have little experience with any of this ;-)

Cheers,
Ashley.

--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Mail List Problems?
  • Next by Date: ERXCrypto
  • Previous by thread: Re: Embedding Image Data in a Component Email
  • Next by thread: Roadblock to custom qualifiers
  • Index(es):
    • Date
    • Thread