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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Fabric Update Carousel

Fabric Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.