Hi,
Can someone help on this? Thanks in advance.
"You must specify the server type." error, while configuring SMTP via jndi.
The server.xml was updated:
<Resource name="mail/JiraSmtpServer"
auth="Container"
type="javax.mail.Session"
mail.smtp.host="XXX.com"
mail.smtp.port="465"
mail.smtp.auth="true"
mail.smtp.user="XXX@XXXcom"
password="password"
mail.smtp.starttls.enable="true"
mail.debug="true"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
/>
And i also move the java.mail.jar,java.mail.api.jar and activation.jar from /WEB-INF/lib to /JIRA/lib folder.
Welcome to the community!
Please have a look at the below KB. hope it helps.
Thanks for your advice.
I followed the KB to configure JNDI location and move the mail.XX.jar.
Now, the error is "You must specify the server type". Looks like the SMTP server type is not defined correctly. can't identifed the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, I restarted the jira instances serveral times and the mail works fine now. Maybe there's a cache in there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ohh ..good to hear.... the issue has been solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.