Hyperion Financial Data Quality Management (FDM/FDMEE) (MOSC)

MOSC Banner

FDMEE Jython Script Email Notification

Hi Everyone ,

The script below should work in Fdmee , but  for some reason I receive an error . I Update the script originally extracted from FDMEE admin Guide .

import smtplib

sender = "User1@company.com"

receivers = "User2@company.com"

message = """ This is a test e-mail message.This is a test e-mail message. """

try:

smtpServer = smtplib.SMTP('smtp-mail.outlook.com',587)

smtpServer.starttls()

smtpServer.login("User1@e,mail.com", "Password")

smtpServer.sendmail(sender, receivers, message)

print "Successfully sent email"

smtpServer.quit()

the error I got related to line no 6 is "line 6 smtpServer = smtplib.SMTP('smtp-mail.outlook.com',587) ^SyntaxError: mismatched input 'smtpServer' expecting INDENT"

any help will be appreciated .

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center