# Display IMAP server message when writing a command to it

**URL:** <https://discourse.julialang.org/t/display-imap-server-message-when-writing-a-command-to-it/56291>\
**Category:** Specific Domains\
**Tags:** networking\
**Created:** [March 1, 2021, 10:52pm UTC](https://discourse.julialang.org/t/display-imap-server-message-when-writing-a-command-to-it/56291 "2021-03-01T22:52:36Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Chen](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@Chen](https://discourse.julialang.org/u/Chen)\
**Post date:** [March 1, 2021, 11:12pm UTC](https://discourse.julialang.org/t/display-imap-server-message-when-writing-a-command-to-it/56291/3 "2021-03-01T23:12:52Z")

</div>

Thank you!

`println()` did not return any output. But it could be that `println()` was the better option.

I found this old post from 2019: [Connect to secure server using secure(SSL) sockets(plan tcp client)](https://discourse.julialang.org/t/connect-to-secure-server-using-secure-ssl-sockets-plan-tcp-client/28465). Maybe @universe68 got the model right, that there needs to be a two threads, where one thread listens to the output from the server (in my case IMAP server)?

---

_[View the full topic](https://discourse.julialang.org/t/display-imap-server-message-when-writing-a-command-to-it/56291)._
