No until now I haven't used the configuration.
I was not sure if it was alright.
And I was searching for a gmail certificate because the docs say that I have to import this one in a keystore.
But where to look for the certificate ??

Thanks for the answer!

Johan

Deeþan Chakravarthy wrote:
Johan Borchers wrote:
Hello,

I'm using Tomcat 6.0.14 on windows 2003 server with JDK 1.5.0_12.
I'm using now my 'normal' email account for sending email.

<Resource name="mail/MyMailServerName"
  auth="Container"
  type="javax.mail.Session"
  mail.store.protocol="pop3"
  mail.pop3.host="pop.myprovider.xxx"
  mail.transport.protocol="smtp"
  mail.smtp.host="mail.myprovider.xxx"
  mail.smtp.port="25"
  mail.smtp.auth="true"
  mail.smtp.user="myusername"
  password="mypassword"
/>

I want to use a gmail account for sending email from Tomcat.

Has anyone succesfully configured a gmail account for sending email from Tomcat.
I can't find the exact parameters to use.

My first try was this:

<Resource name="mail/HarleyDavidsonMailServer"
  auth="Container"
  type="javax.mail.Session"
  mail.store.protocol="pop3"
  mail.pop3.host="pop.gmail.com"
  mail.transport.protocol="smtps"
  mail.smtp.starttls.enable="true"
  mail.smtps.host="smtp.gmail.com"
  mail.smtps.port="465"
  mail.smtps.auth="true"
  mail.smtps.user="[EMAIL PROTECTED]"
  password="mypassword"
/>

I'm not sure if this is allright?
And I think I'll have to configure some keystore for a certificate.


Looks fine.. Did you try it out ? Does it work ?


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to