Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting error SMTPSendFailedException: 530 authentication required when i am trying to send odi logs

ARIVEMULA KAVYA KUMARI LERA TECHNOLOGY PVT LTDDec 15 2015 — edited Dec 17 2015

Hi,

I have used below jython code, to send mail from odi. for i have created procedure in odi named as emailodi

I have place this code in command on target. Technology jython code.

''import smtplib

import string

BODY = string.join((

“From: %s” % ‘admin@odi.com’,

“To: %s” % ‘support@dwteam.in’,

“Subject: %s” % ‘Mail From ODI’ ,

“”,

‘This is a mail from ODi Studio. Thank You. keep visiting www.DwTeam.in’

), “\r\n”)

sender = smtplib.SMTP(‘smtp.gmail.com’,587)

sender.set_debuglevel(1)

sender.ehlo()

sender.starttls()

sender.ehlo()

sender.login(‘GMAIL_USER_NAME’, ‘PASSWORD’)

sender.sendmail(‘admin@odi.com’,['support@dwteam.in'],BODY)

sender.close() ".


Using this code. i am able to send mail though odi what i have written in the subject.

My requirement is, i want send odi logs to mail...

for this i tried,

i have taken odiexportlog tool & this above procedure placed in package.


after execution of this package,

i am getting error like..........


ODI-1226: Step OdiSendMail 3 fails after 1 attempt(s).

ODI-1241: Oracle Data Integrator tool execution fails.

Caused By: com.sun.mail.smtp.SMTPSendFailedException: 530 authentication required.



Thanks & Regards,

A.kavya.



This post has been answered by ARIVEMULA KAVYA KUMARI LERA TECHNOLOGY PVT LTD on Dec 17 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2016
Added on Dec 15 2015
6 comments
2,595 views