Hi Graeme<br><br>It works fine....<br><br>Thanks for your answer, it really help me.<br><br>Thanks again<br><br><div class="gmail_quote">2010/4/13 Graeme Kidd <span dir="ltr"><<a href="mailto:coolkidd3@hotmail.com">coolkidd3@hotmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<span style="font-size: 12pt; font-family: "Times New Roman";">Yeah to get round that problem I had download
the Webform source code and go into the CmsFormHandler class and edit the sendConfirmationMail()
and sendMail() functions<br>
<br>
You then have to add the setTLS flag after CmsHtmlMail has been initialised in
both those functions:<br>
// create a HTML email<br>
CmsHtmlMail theMail = new CmsHtmlMail();<br>
theMail.setTLS(true); // Added this line<br>
<br>
This was a quick fix but you could take it further and try and add a tick box
in the web form content type and pick up the setting from there.<br>
<br>
Graeme</span><br><br><hr>Date: Tue, 13 Apr 2010 12:52:05 -0300<br>From: <a href="mailto:mlbinelli@gmail.com" target="_blank">mlbinelli@gmail.com</a><br>To: <a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>
Subject: Re: [opencms-dev] WEBFORM Send email not works<div><div></div><div class="h5"><br><br>Thanks Michael....<br><br><div>2010/4/13 Michael Moossen <span dir="ltr"><<a href="mailto:m.moossen@alkacon.com" target="_blank">m.moossen@alkacon.com</a>></span><br>
<blockquote style="padding-left: 1ex;">
Hi Marcos!<br>
<br>
Gmail uses the TLS protocol which is not yet supported (better said<br>
configurable) in OpenCms.<br>
<br>
Sorry<br>
-------------------<br>
Michael Moossen<br>
<br>
Alkacon Software GmbH - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
<div><br>
On 13.04.2010 03:11, marcos binelli wrote:<br>
> Hi all<br>
><br>
> I create one form to send emails.<br>
> I alter the opencms-system.xml as follow lines:<br>
><br>
> <mail><br>
</div>> <mailfrom><a href="mailto:jmbinfo@gmail.com" target="_blank">jmbinfo@gmail.com</a> <mailto:<a href="mailto:jmbinfo@gmail.com" target="_blank">jmbinfo@gmail.com</a>></mailfrom><br>
> <mailhost name="<a href="http://smtp.gmail.com" target="_blank">smtp.gmail.com</a> <<a href="http://smtp.gmail.com" target="_blank">http://smtp.gmail.com</a>>" protocol="smtp"<br>
> port="465" user="<a href="mailto:jmbinfo@gmail.com" target="_blank">jmbinfo@gmail.com</a> <mailto:<a href="mailto:jmbinfo@gmail.com" target="_blank">jmbinfo@gmail.com</a>>"<br>
<div>> password="xxxxxx"/><br>
> </mail><br>
><br>
> But when l try to send the email, fails....<br>
><br>
> And in the log l saw the message: "Could not connect to SMTP host:<br>
</div>> <a href="http://smtp.gmail.com" target="_blank">smtp.gmail.com</a> <<a href="http://smtp.gmail.com" target="_blank">http://smtp.gmail.com</a>>, port: 465, response: -1"<br>
<div>><br>
> What is wrong????<br>
><br>
> Thanks for the help<br>
><br>
><br>
><br>
><br>
</div>> _______________________________________________<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>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><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>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br> <br></div></div><div class="hm"><hr>Get a free e-mail account with Hotmail. Sign-up now. <a></a></div></div>
<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>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br>