<div>Christian,</div> <div> </div> <div>Thanks for your reply. Can you please let me know what changes were made to the opencms.system.xml? Here are the changes I made and this does not work. The alternate SMTP is blank and username and password are also blank.</div> <div> </div><FONT size=3><FONT face="Times New Roman"> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><mail><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-tab-count: 1"> </SPAN><mailfrom>nobody@nowhere.com</mailfrom><o:p></o:p></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-tab-count: 1"> </SPAN><mailhost name="111.111.1.11" protocol="smtp" <S>user="username" password="secure"</S>/><o:p></o:p></div> <div
class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-tab-count: 1"> </SPAN><mailhost name="alternative.smtp.server"/><o:p></o:p></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-tab-count: 1"> </SPAN><mailhost name="<S>another.alternative.smtp.server</S>"/><o:p></o:p></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"></mail></div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt">I appreciate your reply. Thanks</div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"> </div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt">-Twinkle</div> <div class=MsoNormal style="MARGIN: 0in 0in 0pt"></FONT></FONT><BR><B><I>Christian Steinert <christian_steinert@web.de></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px
solid">> <BR>> > I am new to OpenCms. I need to send email from a form in OpenCms <BR>> > 6.0. I have made necessary changes to opencms-system.xml but not <BR>> > working. I have looked into the mailing archives and did not find <BR>> > much help. Any help is appreciated.<BR>> <BR>> I think this was new in 6.2, but there is a structured content email <BR>> form type that you can use in that.<BR>> <BR>> Otherwise you can do what we're doing, which is to use the Java API <BR>> to send emails, which employs the settings you've seen in opencms- <BR>> system.xml. We had to do things this way as I was pulling the email <BR>> address out of our staff profile structured content.<BR>> <BR>> <BR><BR>You can use org.opencms.mail.CmsSimpleMail or org.opencms.mail.CmsMultipartMail for this.<BR><BR>it's documented in the JAVADOCs, e.g.
http://www.codedroids.com/javadocs/opencms/build_6_0_3/docs/api/org/opencms/mail/CmsSimpleMail.html<BR>I have not used this yet, however.<BR><BR>christian<BR>_______________________________________________________________<BR>SMS schreiben mit WEB.DE FreeMail - einfach, schnell und<BR>kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192<BR><BR><BR>_______________________________________________<BR>This mail is sent to you from the opencms-dev mailing list<BR>To change your list options, or to unsubscribe from the list, please visit<BR>http://lists.opencms.org/mailman/listinfo/opencms-dev<BR></BLOCKQUOTE><BR><p>
<hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.