Invitation mail sending error!!!

425 views

Hi

when i try to invite member in dashboard I got the "com.ganib.notification.DeliveryException:Error sending mail"  in tomcat server consol.i am using the following mail properies

<Resource
name="mail/GanibSession"
type="javax.mail.Session"
auth="Container"
mail.smtp.host="smtp.gmail.com"
mail.smtp.auth="true"
mail.user="ensisinfo99@gmail.com"
password="system@99"
mail.smtp.port="25"
mail.transport.protocol="smtp"
mail.debug="true"
/>

please help me!!!!!!!!!!!!!

asked Jun 29, 2015 by suresh (160 points)

1 Answer

0 votes
Hello,
 
Thank you for approaching us.
 
I have provided below the proper format of the SMTP Setting. Please replace them in the context.xml file.
Please provide your username and password in the code.
 
<Resource
name="mail/GanibSession"
auth="Container"
type="javax.mail.Session"
mail.debug="true"
mail.transport.protocol="smtp"
mail.smtp.host="smtp.gmail.com"
mail.smtp.auth="true"
mail.smtp.port="465"
mail.smtp.starttls.enable="true"
mail.user="ensisinfo99@gmail.com"
password="*********"
mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"
/>
 
Also, please note that if you donot have the need of authentication, Please make 'mail.smtp.auth=false'.
 
If you are facing any other issue, Please feel free to contact us. We are happy to help you.
 
Thanks,

Jaclyn

Jaclyn N,
Ganib Support Team, Ganib Inc.
Free Signup | Free Download | Documentation
Skype ID: ganib.support
Email: support@ganib.com

 

answered Jun 30, 2015 by Jaclyn (18,310 points)
Invitation mail not sent
...