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

Re: WOMailDelivery 5.3


  • Subject: Re: WOMailDelivery 5.3
  • From: George Domurot <email@hidden>
  • Date: Tue, 31 Aug 2004 10:53:32 -0400

I recall we had some issues getting WOMailDelivery to work as it did in earlier versions. The only thing I noticed in our code is that we aren't using null when ignoring the cc; we're using an empty array. I have a vague recollection that it was something as simple as this that broke the routine. You may also want to log the value of aMailMsg to see what is being returned by the call.

On Aug 31, 2004, at 9:29 AM, Erwin wrote:

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.
_______________________________________________
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: 
 >WOMailDelivery 5.3 (From: Erwin <email@hidden>)

  • Prev by Date: WOMailDelivery 5.3
  • Next by Date: RE: WOMailDelivery 5.3
  • Previous by thread: WOMailDelivery 5.3
  • Next by thread: Re: WOMailDelivery 5.3
  • Index(es):
    • Date
    • Thread