Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
aseagull
Helper IV
Helper IV

Any way to send email from pipeline / notebook with data in lakehouse?

Hi. Without premium or a reserved capacity, and only an F2, is there a way to use a python notebook and smtplib to send email? I have been getting 501 errors (connecting to Exchange Online), even though the python works fine from a desktop.

 

SMTPHeloError: (501, b'5.5.4 Invalid domain name...

 

Thanks,
Amon

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @aseagull 
Thanks for using Fabric Community.
Can you please share the code which you are using in the Fabric Notebook?

You can use a pipeline to send an email using the Outlook activity:
https://learn.microsoft.com/en-us/fabric/data-factory/outlook-activity
https://www.youtube.com/watch?v=sbxnDqRxTPQ

Hope this helps. Please let me know if you have any further questions.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @aseagull 
Thanks for using Fabric Community.
Can you please share the code which you are using in the Fabric Notebook?

You can use a pipeline to send an email using the Outlook activity:
https://learn.microsoft.com/en-us/fabric/data-factory/outlook-activity
https://www.youtube.com/watch?v=sbxnDqRxTPQ

Hope this helps. Please let me know if you have any further questions.

Thank you very much! I did not even realize all the Activities that are available. In the video link you shared, the presenter uses an expression language to encode dynamic content. Do you know where I can find a reference for this expression language?

Anonymous
Not applicable

Hi @aseagull 
Glad that I could help you in resolving the query. For information regarding dynamic content please refer to this link:
Parameters - Microsoft Fabric | Microsoft Learn

Please continue using Fabric Community for any help regarding your queries. Glad to help.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

Top Solution Authors