• 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
email WOComponent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

email WOComponent


  • Subject: email WOComponent
  • From: "WebObjects EMail" <email@hidden>
  • Date: Mon, 8 Mar 2004 17:39:39 +0100

hi!

i start my WO Application.
at 1 AM sends the app an email on my email address automatically firing this
by
a Timer.
to send the email i use this :

EMailBody invoice = (EMailBody)pageWithName("EMailBody");

String from = "email@hidden";

NSArray to = new NSArray("email@hidden");



// Invoice is a WOComponent





WOMailDelivery.sharedInstance().composeComponentEmail(

   from,

   to,

   null,

   "Invoice from My Company for " + "Customer Name",

   invoice,

   true);

System.out.println("Done! ");

return invoice;



well this is what i want to do. but because i dont have a Request i cant use

EMailBody invoice = (EMailBody)pageWithName("EMailBody"); to create the
invoice WOComponent.



anybody can tell me how can i create a WOComponent without request?



thanks in advance
_______________________________________________
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.


  • Follow-Ups:
    • Re: email WOComponent
      • From: Max Muller <email@hidden>
References: 
 >EO Custom Data Type problem (repost) (From: Timo Höpfner <email@hidden>)

  • Prev by Date: Re: NoClassDefFound and Xcode
  • Next by Date: Re: WebObjects Single Directory / Tomcat deployment
  • Previous by thread: EO Custom Data Type problem (repost)
  • Next by thread: Re: email WOComponent
  • Index(es):
    • Date
    • Thread