Changes for page Sending Emails

Last modified by Pascal Robert on 2012/08/12 21:24

From version 3.1
edited by Quinton Dolan
on 2007/07/12 20:21
Change comment: There is no comment for this version
To version 5.1
edited by smmccraw
on 2007/07/08 09:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.qdolan
1 +XWiki.smmccraw
Content
... ... @@ -19,17 +19,17 @@
19 19  
20 20  Refer to the [[WOMailDelivery API>>http://developer.apple.com/documentation/WebObjects/Reference/API/com/webobjects/appserver/WOMailDelivery.html]] for more information, but to simply send an email, you can use the following command:
21 21  
22 -{{code}}
22 +{{panel}}
23 23  
24 -WOMailDelivery.sharedInstance().composePlainTextEmail(
25 - fromAddress,
26 - toAddresses,
27 - bccAddresses,
28 - subject,
29 - body,
30 - WOMailDelivery.SEND_NOW );
24 + WOMailDelivery.sharedInstance().composePlainTextEmail(
25 + fromAddress,
26 + toAddresses,
27 + bccAddresses,
28 + subject,
29 + body,
30 + WOMailDelivery.SEND_NOW );
31 31  
32 -{{/code}}
32 +{{/panel}}
33 33  
34 34  By default, WOMailDelivery with use Sun's old SMTP implementation. However, if you install JavaMail (as described above) into your WOA or /Library/WebObjects/Extensions, WOMailDelivery will use it instead.
35 35