# Email from form action sending from default email rather than the one set for the email

**URL:** <https://forum.mautic.org/t/email-from-form-action-sending-from-default-email-rather-than-the-one-set-for-the-email/14347>\
**Category:** Product Support\
**Created:** [May 15, 2020, 8:18pm UTC](https://forum.mautic.org/t/email-from-form-action-sending-from-default-email-rather-than-the-one-set-for-the-email/14347 "2020-05-15T20:18:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tke852](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tke852/32/2404_2.png) [@tke852](https://forum.mautic.org/u/tke852)\
**Post date:** [May 15, 2020, 8:18pm UTC](https://forum.mautic.org/t/email-from-form-action-sending-from-default-email-rather-than-the-one-set-for-the-email/14347/1 "2020-05-15T20:18:19Z")

</div>

**Your software**  
My Mautic version is: v2.16.2  
My PHP version is: 5.6.40

**Your problem**  
My problem is: I want the emails sent as the action after a form to be sent from the email address that is set in the Advanced tab of the email template I’ve chosen. If I go to Channels\> Emails ; select the desired email, click edit and then go to the advanced tab, I have an email set as from. If I use the “send test email” button, it works as expected. However, when the form is filled out on the website, it is sent from the address set as the default in the main configuration area.

I can’t set the default to something else because that won’t work with our requirements.

These errors are showing in the log:  
[2020-05-15 01:55:45] mautic.WARNING: The reference for contact 1649 and IP address 2352 is already there. (Unique constraint)    
[2020-05-15 14:17:23] mautic.WARNING: The reference for contact 1558 and IP address 2478 is already there. (Unique constraint)

Steps I have tried to fix the problem:  
I’ve tried creating new emails in case I did not have the From email set when I first set it up in the form action. I’ve created new forms from scratch. I switched the mailer from using my MailJet account to using the SMPT server we have set up in our building in case it was an issue with mautic sending the alternate from information to the MailJet service. Unfortunately, nothing helps, it always comes from my email address.

---

<div class="post-metadata">

**Author:** ![tke852](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tke852/32/2404_2.png) [@tke852](https://forum.mautic.org/u/tke852)\
**Post date:** [July 2, 2020, 6:20pm UTC](https://forum.mautic.org/t/email-from-form-action-sending-from-default-email-rather-than-the-one-set-for-the-email/14347/2 "2020-07-02T18:20:25Z")

</div>

Has anyone experienced this? I would like to know if it is some sort of setting or how I’ve set up the email server. Any Ideas?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [July 3, 2020, 4:00am UTC](https://forum.mautic.org/t/email-from-form-action-sending-from-default-email-rather-than-the-one-set-for-the-email/14347/3 "2020-07-03T04:00:24Z")

</div>

Quick question: you don’t have the ‘mailer is the owner’ setting? (Config \> Email settings)  
Thx

---

<div class="post-metadata">

**Author:** ![tke852](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tke852/32/2404_2.png) [@tke852](https://forum.mautic.org/u/tke852)\
**Post date:** [July 5, 2020, 12:40pm UTC](https://forum.mautic.org/t/email-from-form-action-sending-from-default-email-rather-than-the-one-set-for-the-email/14347/4 "2020-07-05T12:40:48Z")

</div>

Thanks for the reply. It is set to No.

 ![mauticemailsettings](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7b3181d60924c961a4dd615ed241beb9e04648b6.png)
