Apr-23-2019, 09:36 PM
Instead of your line 23, you want
body = MIMEText('Netcool data transfer is not sucessful, please check FTP service') msg.attach(body)