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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors