# Send mail via smtplib inside a space

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsend-mail-via-smtplib-inside-a-space%2F101759%3E%5C
**Category:** Spaces\
**Created:** [August 10, 2024, 10:57am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsend-mail-via-smtplib-inside-a-space%2F101759 "2024-08-10T10:57:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juristical](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/juristical/32/30373_2.png) [@Juristical](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJuristical)%5C
**Post date:** [August 10, 2024, 10:57am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fsend-mail-via-smtplib-inside-a-space%2F101759%2F1 "2024-08-10T10:57:12Z")

</div>

hello!

i’m trying to send a mail with smtplib, but every time i get back

OSError: [Errno 101] Network is unreachable

the same simple function is working inside google colab, my pc… only here is not working.

maybe there is some firewall block? can someone help me please?

thank you
