• 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: WebObjectsMail and attachments!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjectsMail and attachments!


  • Subject: Re: WebObjectsMail and attachments!
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 19 Jul 2004 12:40:54 -0700

On Jul 18, 2004, at 11:28 PM, Clive Roberts wrote:

I have tried an absolute reference but still without success, while the
images will appear if I vend the WOComponent as part of my application, they
do not appear in the email. I supplied the file src in the constructor by a
call to a public method "src" that returns the absolutePath as a string (of
course this is a WOImage).


What does this path look like?  Can you provide an example?


I also tried a static image and passed it an absolute File:// , while the
email showed the file name, it did not vend the image.


That won't work unless the person reading the message first downloads the images to their machine. Almost certainly not what you want.


Any other thoughts?


Use MIME attachements and send them with the message.


Chuck


Clive


You will need to use an absolute reference to the image file. If you
are accessing a resouce through a dynamic session which has been
terminated, the image wouldn't appear.

-George

On Jul 18, 2004, at 11:48 AM, Clive Roberts wrote:

I have used WOMailDelivery to send WOComponents  as the contents of
email
messages , i.e. using

composeComponentEmail()

I have a number of pages that include WOString etc and all work well.

However, I have now introduced a Component that includes a JPEG (a
WOImage)
and this does not arrive/show in the email received. Has anybody done
this
successfully, and if so how?


Clive Roberts
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.


References: 
 >WebObjectsMail and attachments! (From: "Clive Roberts" <email@hidden>)
 >Re: WebObjectsMail and attachments! (From: George Domurot <email@hidden>)
 >Re: WebObjectsMail and attachments! (From: "Clive Roberts" <email@hidden>)

  • Prev by Date: Re: Java Monitor Refuse New Sessions not working
  • Next by Date: Re: Java Monitor Refuse New Sessions not working
  • Previous by thread: Re: WebObjectsMail and attachments!
  • Next by thread: Re: WebObjectsMail and attachments!
  • Index(es):
    • Date
    • Thread