# SMTP 525 when using other SMTP

**URL:** <https://forum.mautic.org/t/smtp-525-when-using-other-smtp/4504>\
**Category:** Product Support\
**Created:** [July 14, 2016, 1:41pm UTC](https://forum.mautic.org/t/smtp-525-when-using-other-smtp/4504 "2016-07-14T13:41:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![suporte.agencialink](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@suporte.agencialink](https://forum.mautic.org/u/suporte.agencialink)\
**Post date:** [July 14, 2016, 1:41pm UTC](https://forum.mautic.org/t/smtp-525-when-using-other-smtp/4504/1 "2016-07-14T13:41:59Z")

</div>

Hi,  
  
I’m using an external SMTP Server (Locaweb) to send e-mails with Mautic.  
  
  
  
When the user send a custom e-mail to a contact, he can change the “from” e-mail to anything he wants.  
  
  
  
The problem is, my SMTP Server forces me to register with them the e-mail used as the “From” address.  
  
When the user change the “from” e-mail, Mautic try to send using this address, and my SMTP Server denies it, returning the error 525. Unless I register it.  
  
  
  
What I need is a way to prevent the user to change the “from” address, or make Mautic always use the one configured in the “Mail” section.  
  
  
  
I used to develop mail sending applications, and in cases like these, we used the configured e-mail as the real “From” address, and the user defined “From” as a “Reply-to” address.

---

<div class="post-metadata">

**Author:** ![suporte.agencialink](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@suporte.agencialink](https://forum.mautic.org/u/suporte.agencialink)\
**Post date:** [July 14, 2016, 1:41pm UTC](https://forum.mautic.org/t/smtp-525-when-using-other-smtp/4504/2 "2016-07-14T13:41:59Z")

</div>

Hi,  
I’m using an external SMTP Server (Locaweb) to send e-mails with Mautic.

When the user send a custom e-mail to a contact, he can change the “from” e-mail to anything he wants.

The problem is, my SMTP Server forces me to register with them the e-mail used as the “From” address.  
When the user change the “from” e-mail, Mautic try to send using this address, and my SMTP Server denies it, returning the error 525. Unless I register it.

What I need is a way to prevent the user to change the “from” address, or make Mautic always use the one configured in the “Mail” section.

I used to develop mail sending applications, and in cases like these, we used the configured e-mail as the real “From” address, and the user defined “From” as a “Reply-to” address.
