# Can't send mail by smtp server(mailjet)

**URL:** <https://meta.discourse.org/t/cant-send-mail-by-smtp-server-mailjet/267201>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [June 5, 2023, 4:15am UTC](https://meta.discourse.org/t/cant-send-mail-by-smtp-server-mailjet/267201 "2023-06-05T04:15:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![whitewaterdeu](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@whitewaterdeu](https://meta.discourse.org/u/whitewaterdeu)\
**Post date:** [June 6, 2023, 4:24am UTC](https://meta.discourse.org/t/cant-send-mail-by-smtp-server-mailjet/267201/4 "2023-06-06T04:24:44Z")

</div>

Thanks for the reply, boss! I tried the test command, and it prompted a timeout.

```plaintext
root@iZ0jlfiypegsmh5fpig7t4Z-app:/var/www/discourse# rake emails:test[whitewatercn@outlook.com]
Testing sending to whitewatercn@outlook.com using in-v3.mailjet.com:587, username:7b14af9b5034dd6e7639d19587cb7831 with plain auth.
SMTP server connection successful.
Sending to whitewatercn@outlook.com. . . 
Sending mail failed.
JavaScript was terminated (either by timeout or explicitly)

```

---

_[View the full topic](https://meta.discourse.org/t/cant-send-mail-by-smtp-server-mailjet/267201)._
