Some one can tell me how can I send an email from otm by my smtp server with username/password autentication? My configuration about mail is below:
File[glog.common.properties]:
glog.mail.smtp.host=user_xxx/[email protected]
glog.mail.smtp.port=465
glog.mail.smtp.useStartTLS=false
glog.mail.smtp.useSSL=true
File[glog.properties]:
[email protected]
glog.workflow.notify.advisor.name=XX Mail Admin
[email protected]
glog.workflow.notify.defaultSmtphost=internal-mail-router.oraclecorp.com
glog.workflow.notify.advisor.fax=555-555-1212
When I tendering shipment to carrier by email notification, I got an exception below:
2021-03-11 12:50:01.417 0 Error Exception [000012] cause.mailInvalidSmtpPassword
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:423)
at glog.util.exception.GLException.factory(GLExceptio n.java:481)
at glog.util.exception.GLException.factory(GLExceptio n.java:457)
at glog.util.exception.GLException.factory(GLExceptio n.java:453)
at glog.util.exception.GLException.factory(GLExceptio n.java:441)
at glog.util.mail.MailProperties.getSessionSingleHost (MailProperties.java:231)
at glog.util.mail.MailProperties.getSession(MailPrope rties.java:195)
at glog.util.mail.MailEvent$Listener.trigger(MailEven t.java:980)
at glog.util.event.MemoryEventQueueRunnable.processEv ent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(Memor yEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:8 6)
at java.lang.Thread.run(Thread.java:745)
[transport - SMTP - 1]
Please correct my configuration, or tell me someting wrong in my configuration, Thanks.
File[glog.common.properties]:
glog.mail.smtp.host=user_xxx/[email protected]
glog.mail.smtp.port=465
glog.mail.smtp.useStartTLS=false
glog.mail.smtp.useSSL=true
File[glog.properties]:
[email protected]
glog.workflow.notify.advisor.name=XX Mail Admin
[email protected]
glog.workflow.notify.defaultSmtphost=internal-mail-router.oraclecorp.com
glog.workflow.notify.advisor.fax=555-555-1212
When I tendering shipment to carrier by email notification, I got an exception below:
2021-03-11 12:50:01.417 0 Error Exception [000012] cause.mailInvalidSmtpPassword
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:423)
at glog.util.exception.GLException.factory(GLExceptio n.java:481)
at glog.util.exception.GLException.factory(GLExceptio n.java:457)
at glog.util.exception.GLException.factory(GLExceptio n.java:453)
at glog.util.exception.GLException.factory(GLExceptio n.java:441)
at glog.util.mail.MailProperties.getSessionSingleHost (MailProperties.java:231)
at glog.util.mail.MailProperties.getSession(MailPrope rties.java:195)
at glog.util.mail.MailEvent$Listener.trigger(MailEven t.java:980)
at glog.util.event.MemoryEventQueueRunnable.processEv ent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(Memor yEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:8 6)
at java.lang.Thread.run(Thread.java:745)
[transport - SMTP - 1]
Please correct my configuration, or tell me someting wrong in my configuration, Thanks.
Comment