From: Neil B. <nei...@zi...> - 2010-08-10 09:42:26
|
Hello, I'm working on configuring jtrac for mail. Our mail server is a company domain through gmail. I recently looked at a posting on the forum to configure for gmail and followed that but I'm getting bad results. My jtrac.properties file is (the bit in bold will be revealed why later): database.driver=com.mysql.jdbc.Driver database.url=jdbc:mysql://localhost:3306/jtrac database.username=jtrac database.password=jtrac hibernate.dialect=org.hibernate.dialect.MySQLDialect hibernate.show_sql=true mail.server.host=smtp.gmail.com *mail.server.port=587* mail.server.username=jt...@zi... mail.server.password=XXXXXXXXX <removed for secuory reasons> mail.server.starttls.enable=true mail.from=jt...@zi... mail.subject.prefix=[ziath-jtrac] jtrac.url.base=http://localhost:8082/jtrac locale.default=en That seems fine but I cannot send emails, looking at the logs there are some lines which may show the problem as follows (problem bits in bold): 2010-08-10 09:40:48,922 [main] INFO [info.jtrac.mail.MailSender] - initializing email adapter: host = 'smtp.gmail.com', *port = '993'*, url = ' http://localhost:80 82', from = 'jt...@zi...', prefix = 'null' 2010-08-10 09:40:48,937 [main] INFO [info.jtrac.mail.MailSender] - email sender initialized from config: host = 'smtp.gmail.com', *port = '993'* The port to send should be 587 as normal and is in the properties file but that does not seem to be picked up. Has anyone else seen this happen and have a tip to help out here? Thanks for your help. Cheers, Neil -- -- Neil Benn Msc Director Ziath Ltd Phone :+44 (0)7508 107942 Website - http://www.ziath.com IMPORTANT NOTICE: This message, including any attached documents, is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify Ziath Ltd immediately by email at in...@zi.... Thank you. |