• 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: send component as email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: send component as email


  • Subject: Re: send component as email
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 04 Feb 2004 07:50:29 -0800

Google is a wonderful thing.

http://www.omnigroup.com/mailman/archive/webobjects-dev/2002-June/024271.html

Chuck

At 02:40 PM 04/02/2004 +0100, WebObjects EMail wrote:
>hello,
>i just try to create a component to send it per Email how can i do that?
>
>i created a simple java class  and call it in the Application constroctor
like
>that
>
>
>public Application() {
>
>super();
>
>robotSMail r = new robotSMail();
>
>}
>
>public class robotSMail {
>
>        public robotSMail()
>
>        {
>
>                MessageBody body = new  MessageBody();
>
>                WOMailDelivery mailAgent = WOMailDelivery.sharedInstance();
>
>                System.out.println("\n\n\nread  : "+mailAgent.toString() );
>
>                mailAgent.composeComponentEmail
>
>                (
>
>                       "email@hidden",
>
>                       new NSArray(new String[]
>{"email@hidden"} ),
>
>                       null,
>
>                       "Subject",
>
>                       body,
>
>                       true
>
>                );
>
>        }
>
>}
>
>MessageBody class is a WOComponent.
>if i use MessageBody() i get Error The constructor MessageBody() is
>undefined.
>i dont need any session, context, etc..
>
>thenks for help.
>_______________________________________________
>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.
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
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: send component as email
      • From: Michael Engelhart <email@hidden>
References: 
 >send component as email (From: "WebObjects EMail" <email@hidden>)

  • Prev by Date: Re: Best Notification Framework
  • Next by Date: Re: send component as email
  • Previous by thread: send component as email
  • Next by thread: Re: send component as email
  • Index(es):
    • Date
    • Thread