Hello, I have written a python 3 script that send an email using a SMTP from my company. The script is working fine in my laptop running on python 3 so there shouldn't be any error on it.
The problem is that it's not working on matillion's Python component. I used the python 3 as interpreter and the same code. What could be the reasons for not be working on Matillion?
4 Community Answers
Alejandro Sanchez —
Sorry, I forgot to paste the python code:
import smtplib from email.message import EmailMessage s = smtplib.SMTP(host='SMTP Address', port=25) s.starttls() s.login('USER', 'PASSWORD') msg = EmailMessage() me = 'SAME_USER' you = 'firstname.lastname@example.org' msg.set_content('Some of the tables failed to be loaded') msg['Subject'] = 'OData loading failed' msg['From'] = me msg['To'] = you s.send_message(msg) s.quit()