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

WOMailDelivery 5.3


  • Subject: WOMailDelivery 5.3
  • From: Erwin <email@hidden>
  • Date: Tue, 31 Aug 2004 15:29:10 +0200

I read all archived messages about the subject, most of them are old
(2000,2001)
I tried to use WOMAilDelivery to send simple email from my WO app

1- I set up first the WOSMTPHost default in the Terminal

defaults write NSGlobalDomain WOSMTPHost "smtp.myisp.com"

2- I set the from (String) to(NSArray) subject and content fields
within a WOForm in a page (action :  send
got the value from the request.....

3 -then I used the WOMailDelivery   binding the Form action (and Submit
button)  to send...

     public WOComponent send(){
		WOMailDelivery sharedInstance = WOMailDelivery.sharedInstance();
		String aMailMsg =
sharedInstance.composePlainTextEmail(from,to,null,subject,contents,true)
;
		logString("email sent from : " + from);
         return null;
     }

In debugging mode, I see the sharedInstance and aMailMsg and I got the
logstring in the log.... but not the email !!!!!

I should have forgotten one step.... but where ?
_______________________________________________
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: WOMailDelivery 5.3
      • From: Art Isbell <email@hidden>
    • Re: WOMailDelivery 5.3
      • From: George Domurot <email@hidden>
  • Prev by Date: 'Clear Form' button and Popup
  • Next by Date: Re: WOMailDelivery 5.3
  • Previous by thread: Re: 'Clear Form' button and Popup
  • Next by thread: Re: WOMailDelivery 5.3
  • Index(es):
    • Date
    • Thread