I have configured Email server inside configupdate.sh using hostname smtp.gmail.com but getting following error

Code:
2018-02-14 12:30:51,645 [http-bio-8180-exec-6] INFO  org.apache.commons.configuration.PropertiesConfiguration- Reloading configura
tion. URL is file:/opt/netiq/idm/apps/tomcat/conf/ism-configuration.properties
2018-02-14 12:31:04,130 [NOTIFICATION THREAD] ERROR com.novell.soa.notification.impl.NotificationThread- [RBPM] Error sending emai
l.
com.novell.soa.notification.impl.NotificationException: Error sending email.
        at com.novell.soa.notification.impl.MailEngine.send(MailEngine.java:347)
        at com.novell.soa.notification.impl.NotificationThread.run(NotificationThread.java:96)
Caused by: javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. v73sm32303221pfk.84 - gsmtp

        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
        at com.novell.soa.notification.impl.MailEngine.send(MailEngine.java:344)
        ... 1 more
2018-02-14 12:31:04,869 [NOTIFICATION THREAD] ERROR com.novell.soa.notification.impl.NotificationThread- [RBPM] Error sending emai
l.
com.novell.soa.notification.impl.NotificationException: Error sending email.
        at com.novell.soa.notification.impl.MailEngine.send(MailEngine.java:347)
        at com.novell.soa.notification.impl.NotificationThread.run(NotificationThread.java:96)
Caused by: javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. v73sm32303221pfk.84 - gsmtp

        at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
        at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
        at com.novell.soa.notification.impl.MailEngine.send(MailEngine.java:344)
I have done some RND. It is showing me to use smtp-relay .https://forums.novell.com/showthread...il-from-Driver.

Please advise me to send mail without using SMTP-relay