# Pinegrow Form sender

**URL:** https://forum.pinegrow.com/t/pinegrow-form-sender/7893
**Category:** WordPress
**Tags:** wordpress
**Created:** [April 3, 2023, 12:19pm UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893 "2023-04-03T12:19:29Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Takuya](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/takuya/32/5349_2.png) [@Takuya](https://forum.pinegrow.com/u/Takuya)
#### Post date: [April 3, 2023, 12:19pm UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/1 "2023-04-03T12:19:29Z")

</div>

Hi,

I’m using the form smart action, which is great, but I have one small issue.  
When receiving a new email, the sender is the WordPress admin email and not the email address inputted in the form itself by the visitor of the website.

How can I change that ?

Kind regards,  
Siegfried

---

<div class="post-metadata">

### Author: ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)
#### Post date: [April 3, 2023, 2:34pm UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/2 "2023-04-03T14:34:45Z")

</div>

@Takuya,  
This is the typical behavior for most WP forms, and you generally need to customize the settings to tell it to send from a different address or name. In fact, it’s probably a bad idea to change the sender address because of DKIM / email authentication issues since your mailer won’t be authorized to send as the submitter’s domain.

A better option would be to send from a domain that you can authenticate but have the form put the sender’s name in the reply-to field. Pinegrow doesn’t have the ability to change those fields inside the builder, though, so you’d have to use the pg\_form\_email() WordPress filter.

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [April 4, 2023, 5:51am UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/3 "2023-04-04T05:51:44Z")

</div>

Hey, I have to ask a quite silly question: Since there is no standard form block for Wordpress in Gutenberg anymore, there is no native form support build in WP anymore, am I right? I need to use a plugin or a script I wrote myself to build a working mail form?

---

<div class="post-metadata">

### Author: ![sitestreet](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/sitestreet/32/41_2.png) [@sitestreet](https://forum.pinegrow.com/u/sitestreet)
#### Post date: [April 4, 2023, 8:47am UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/4 "2023-04-04T08:47:48Z")

</div>

Check this out: [Create Simple Forms with the Pinegrow Web Editor - YouTube](https://www.youtube.com/watch?v=D5ackkfTkU0)

---

<div class="post-metadata">

### Author: ![Riccarcharias](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/riccarcharias/32/4051_2.png) [@Riccarcharias](https://forum.pinegrow.com/u/Riccarcharias)
#### Post date: [April 5, 2023, 5:52am UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/5 "2023-04-05T05:52:42Z")

</div>

> [@sitestreet](#):
>
> Create Simple Forms with the Pinegrow Web Editor - YouTube

Interesting. Thank you very much!

---

<div class="post-metadata">

### Author: ![Takuya](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/takuya/32/5349_2.png) [@Takuya](https://forum.pinegrow.com/u/Takuya)
#### Post date: [April 6, 2023, 9:54am UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/6 "2023-04-06T09:54:51Z")

</div>

Hi Adam,

Thanks for your reply, great YouTube channel BTW.

Would you have any links with tutorials that explain how to add a “Reply-to” additional header with the pg\_form\_email() WordPress filter ?

Kind regards,  
Siegfried

---

<div class="post-metadata">

### Author: ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)
#### Post date: [April 6, 2023, 11:59am UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/7 "2023-04-06T11:59:00Z")

</div>

Thanks, @Takuya! I haven’t dug into it yet and I don’t know if any tutorials that do. I’m going to tag @Wolfgang in since I seem to remember that he has some pretty sophisticated form logic they he uses.

---

<div class="post-metadata">

### Author: ![Wolfgang](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang/32/2414_2.png) [@Wolfgang](https://forum.pinegrow.com/u/Wolfgang)
#### Post date: [April 6, 2023, 1:43pm UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/8 "2023-04-06T13:43:04Z")

</div>

Hi @adamslowe - thanks for tagging, but I’m probably the wrong one @Wolfgang - because with pretty sophisticated form logic I rather have question marks in my head…  
Happy Easter

---

<div class="post-metadata">

### Author: ![adamslowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/adamslowe/32/4590_2.png) [@adamslowe](https://forum.pinegrow.com/u/adamslowe)
#### Post date: [April 6, 2023, 1:57pm UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/9 "2023-04-06T13:57:23Z")

</div>

Whoops, sorry about that. It was @Wolfgang.Hartl that I saw [posting](https://forum.pinegrow.com/t/wp-form-action-labels-not-showing-in-e-mail/6991) a few things [about forms](https://forum.pinegrow.com/t/wordpress-forms-enhancements/7072) a few months ago.

---

<div class="post-metadata">

### Author: ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)
#### Post date: [April 6, 2023, 7:30pm UTC](https://forum.pinegrow.com/t/pinegrow-form-sender/7893/10 "2023-04-06T19:30:26Z")

</div>

Hey there, it’s not very often that there are more than one Wolfgang’s out there, but I’m always glad to see some name-buddies 😉

Ehm to be honest most of the time I’m using the WordPress Rest API to send my mails. I found that to be the easiest solution. There you could do anything you want to do with PHP.

I guess that’s not exactly what you’re looking for but maybe it you didn’t think about sending mails via rest API yet! 😉

@Takuya
