Changes for page Sending Emails
Last modified by Pascal Robert on 2012/08/12 21:24
From version 6.1
edited by Pascal Robert
on 2007/09/03 15:19
on 2007/09/03 15:19
Change comment:
There is no comment for this version
To version 7.1
edited by Pascal Robert
on 2011/02/22 10:46
on 2011/02/22 10:46
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Web Applications-Development-Sending Emails1 +Development-Sending Emails - Content
-
... ... @@ -9,8 +9,16 @@ 9 9 * [[JavaMail>>http://java.sun.com/products/javamail/downloads/index.html]] 10 10 * [[Java Activation Framework>>http://java.sun.com/products/javabeans/jaf/downloads/index.html]] 11 11 12 +== ERJavaMail == 13 + 14 +ERJavaMail is part of Project Wonder and provides an API for sending component-based emails. ERJavaMail also uses the JavaMail API's underneath, but it includes the jars inside its framework, so you don't need to manually install JavaMail to use it. Because it does not have any external dependencies on other Project Wonder frameworks, you can use it without bringing in any other Project Wonder frameworks. For more information on ERJavaMail, see the [[ERJavaMail>>Project WONDER-Frameworks-ERJavaMail]] page. 15 + 12 12 == WOMailDelivery == 13 13 18 +{{warning}} 19 +You really should use ERJavaMail, WOMailDelivery is not as flexible as ERJavaMail is. 20 +{{/warning}} 21 + 14 14 Built into WebObjects is the WOMailDelivery class. It provides a very simple API for sending mails, but lacks the power of Project Wonder's version. To use WOMailDelivery, you will need to set your SMTP server in one of the following ways: 15 15 16 16 * Add DWOSMTPHost=smtp.yourmailserver as a launch parameter ... ... @@ -32,7 +32,3 @@ 32 32 {{/code}} 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 - 36 -== ERJavaMail == 37 - 38 -ERJavaMail is part of Project Wonder and provides an API for sending component-based emails. ERJavaMail also uses the JavaMail API's underneath, but it includes the jars inside its framework, so you don't need to manually install JavaMail to use it. Because it does not have any external dependencies on other Project Wonder frameworks, you can use it without bringing in any other Project Wonder frameworks. For more information on ERJavaMail, see the [[ERJavaMail>>Programming__WebObjects-Project WONDER-Frameworks-ERJavaMail]] page.