WOMailDelivery 5.3
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.