# Can't send emails

**URL:** <https://forum.mautic.org/t/cant-send-emails/5719>\
**Category:** Product Support\
**Created:** [March 24, 2016, 11:05am UTC](https://forum.mautic.org/t/cant-send-emails/5719 "2016-03-24T11:05:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![max239](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@max239](https://forum.mautic.org/u/max239)\
**Post date:** [March 24, 2016, 11:05am UTC](https://forum.mautic.org/t/cant-send-emails/5719/1 "2016-03-24T11:05:40Z")

</div>

Hello!  
  
  
  
I’ve setup SMTP settings, a test email from settings window was delivered to me - OK. But when I start to create new leads, test emails doesn’t send and in error log system wrote the next:  
  
  
  
[2016-03-24 10:57:15] mautic.ERROR: [MAIL ERROR] Expected response code 250 but got code “503”, with message "503 sender not yet given " Log data: ++ Starting Swift\_Transport\_EsmtpTransport \<\< 220 [smtp13.mail.ru](http://smtp13.mail.ru) ESMTP ready \>\> EHLO [bitnami-mautic-b055.cloudapp.net](http://bitnami-mautic-b055.cloudapp.net) \<\< [250-smtp13.mail.ru](http://250-smtp13.mail.ru) 250-SIZE 73400320 250-8BITMIME 250-PIPELINING 250 AUTH PLAIN LOGIN XOAUTH2 \>\> AUTH LOGIN \<\< 334 VXNlcm5hbWU6 \>\> aW5mb0Byb2tldHByaW50LnJ1 \<\< 334 UGFzc3dvcmQ6 \>\> UXExMjM0NTY= \<\< 235 Authentication succeeded ++ Swift\_Transport\_EsmtpTransport started \>\> MAIL FROM: \<\< 250 OK \>\> RCPT TO: \<\< 501 sender address must match authenticated user !! Expected response code 250/251/252 but got code “501”, with message "501 sender address must match authenticated user " (code: 501) \>\> RSET \<\< 503 sender not yet given !! Expected response code 250 but got code “503”, with message "503 sender not yet given " (code: 503) [] []  
  
  
  
Which sender address does it insert into a email? From settings? From lead owner? From window “send a custom email to a lead”?

---

<div class="post-metadata">

**Author:** ![max239](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@max239](https://forum.mautic.org/u/max239)\
**Post date:** [April 21, 2016, 6:03am UTC](https://forum.mautic.org/t/cant-send-emails/5719/2 "2016-04-21T06:03:08Z")

</div>

No support - dead project.

---

<div class="post-metadata">

**Author:** ![max239](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@max239](https://forum.mautic.org/u/max239)\
**Post date:** [April 23, 2016, 11:32am UTC](https://forum.mautic.org/t/cant-send-emails/5719/3 "2016-04-23T11:32:51Z")

</div>

Thank you for answer, but if you look deeper test email sends OK, but when I try manually send email Mautic creates an email WITHOUT field MAIL FROM. IT’S EMPTY!

Authentication succeeded ++ Swift\_Transport\_EsmtpTransport started \>\> MAIL FROM: \<\< 250 OK \>\> RCPT TO:

So smtp mail server ([mail.ru](http://mail.ru)) declines this email letter.

So problem is IN configuration of Mautic, because it creates an email.

---

<div class="post-metadata">

**Author:** ![vln104](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vln104](https://forum.mautic.org/u/vln104)\
**Post date:** [April 23, 2016, 12:20pm UTC](https://forum.mautic.org/t/cant-send-emails/5719/4 "2016-04-23T12:20:47Z")

</div>

If you go to the setings cog in the top right corner -\> Configuration -\> Email settings, you should be able to set the mail from address. I have it set to my email address and the appropriate email is used in the email header.

---

<div class="post-metadata">

**Author:** ![max239](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@max239](https://forum.mautic.org/u/max239)\
**Post date:** [April 23, 2016, 1:16pm UTC](https://forum.mautic.org/t/cant-send-emails/5719/5 "2016-04-23T13:16:15Z")

</div>

Of course I did it. Here is my [screen](http://roketprint.ru/Mail_settings.png).

---

<div class="post-metadata">

**Author:** ![max239](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@max239](https://forum.mautic.org/u/max239)\
**Post date:** [April 23, 2016, 1:17pm UTC](https://forum.mautic.org/t/cant-send-emails/5719/6 "2016-04-23T13:17:20Z")

</div>

I tried simply “info”, without "@roketprint.ru", the same error occured.

---

<div class="post-metadata">

**Author:** ![max239](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@max239](https://forum.mautic.org/u/max239)\
**Post date:** [March 24, 2016, 11:05am UTC](https://forum.mautic.org/t/cant-send-emails/5719/7 "2016-03-24T11:05:40Z")

</div>

Hello!

I’ve setup SMTP settings, a test email from settings window was delivered to me - OK. But when I start to create new leads, test emails doesn’t send and in error log system wrote the next:

[2016-03-24 10:57:15] mautic.ERROR: [MAIL ERROR] Expected response code 250 but got code “503”, with message "503 sender not yet given " Log data: ++ Starting Swift\_Transport\_EsmtpTransport \<\< 220 [smtp13.mail.ru](http://smtp13.mail.ru) ESMTP ready \>\> EHLO [bitnami-mautic-b055.cloudapp.net](http://bitnami-mautic-b055.cloudapp.net) \<\< [250-smtp13.mail.ru](http://250-smtp13.mail.ru) 250-SIZE 73400320 250-8BITMIME 250-PIPELINING 250 AUTH PLAIN LOGIN XOAUTH2 \>\> AUTH LOGIN \<\< 334 VXNlcm5hbWU6 \>\> aW5mb0Byb2tldHByaW50LnJ1 \<\< 334 UGFzc3dvcmQ6 \>\> UXExMjM0NTY= \<\< 235 Authentication succeeded ++ Swift\_Transport\_EsmtpTransport started \>\> MAIL FROM: \<\< 250 OK \>\> RCPT TO: \<\< 501 sender address must match authenticated user !! Expected response code 250/251/252 but got code “501”, with message "501 sender address must match authenticated user " (code: 501) \>\> RSET \<\< 503 sender not yet given !! Expected response code 250 but got code “503”, with message "503 sender not yet given " (code: 503) [] []

Which sender address does it insert into a email? From settings? From lead owner? From window “send a custom email to a lead”?

---

<div class="post-metadata">

**Author:** ![yavarpower](https://avatars.discourse-cdn.com/v4/letter/y/8e7dd6/32.png) [@yavarpower](https://forum.mautic.org/u/yavarpower)\
**Post date:** [February 21, 2017, 8:31am UTC](https://forum.mautic.org/t/cant-send-emails/5719/8 "2017-02-21T08:31:33Z")

</div>

same issue with me

---

<div class="post-metadata">

**Author:** ![tasselhof](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tasselhof](https://forum.mautic.org/u/tasselhof)\
**Post date:** [February 21, 2017, 2:51pm UTC](https://forum.mautic.org/t/cant-send-emails/5719/9 "2017-02-21T14:51:40Z")

</div>

I actually encountered the same error while being stupid. Please see if you are setting “From” field in Emails. If you set different e-mail address there, Mautic will try to send from that address

---

<div class="post-metadata">

**Author:** ![autoize](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/autoize/32/105_2.png) [@autoize](https://forum.mautic.org/u/autoize)\
**Post date:** [February 21, 2017, 5:22pm UTC](https://forum.mautic.org/t/cant-send-emails/5719/10 "2017-02-21T17:22:32Z")

</div>

You should go to Settings \> Configuration \> Email Settings and ensure your “E-mail address to send mail from” is set correctly. This is the default email address that will be used unless you specify a different “From:” address for that email send, or it’s a 1-to-1 email where the sender is the Mautic user that owns the contact.

Probably you’re trying to get started with Mautic but we recommend using an email gateway, instead of a webmail provider such as [mail.ru](http://mail.ru) to send messages from Mautic. Popular options include: Amazon SES, SendGrid and Sparkpost. Once you verify your domain with these providers via a DNS record, you’ll be able to send from any name@yourdomain that you wish.
