TLS using Gmail to test SMTP

6 views
Skip to first unread message

john...@googlemail.com

unread,
Sep 26, 2008, 2:38:47 PM9/26/08
to Helma
Hi

First off I would like to say hello to everyone on the list I am a web
developer living in the UK. I have not been using Helma for very long
but so far I like it very much.

My question is does anyone know an easier way to use TLS so I can use
my gmail account for testing SMTP? I managed to solve this in the end
by doing the following.

Within the helma.Mail.js module I placed this line of code within the
Properties block

props.put("mail.smtp.starttls.enable",getProperty("tls")||"false")

then within the server.properties file I added this line

tls=true

This seems to work fine but I am not happy with altering the
helma.Mail.js module is there another way I can insert properties I
tried doing this within my mail instance but did not get very far.
Sorry if I missed an obvious way due to my lack of experience with
Helma.

Thanks

Johnti

Julian

unread,
Oct 1, 2008, 10:56:33 AM10/1/08
to Helma
Anyone? I'm also interested in using this function, can John submit a
patch to hemla.Mail? Thanks.

On Sep 26, 2:38 pm, "johnt...@gmail.com" <johnt...@googlemail.com>
wrote:

Maksim Lin

unread,
Oct 2, 2008, 4:38:39 AM10/2/08
to he...@googlegroups.com
Hi,

Yes it would be good to have this included in Mail,js.
I actually did exactly this myself some months back when I was testing
an app with smtp via a gmail account, but never got around to
submitting a patch, so I've attached my patch in case it helps anyone
else in the future (its a little bit more involved but basically does
exactly the same thing as Johnti did).

Maks.

Mail-ssl-patch.diff

Hannes Wallnoefer

unread,
Oct 20, 2008, 11:10:53 AM10/20/08
to Helma
I committed the TLS support feature, renaming the property "smtp.tls"
to be more in line with other mail related properties.

Hannes

On Sep 26, 8:38 pm, "johnt...@gmail.com" <johnt...@googlemail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages