# Uniform: Get \_from email in action calling snippet

**URL:** <https://forum.getkirby.com/t/uniform-get-from-email-in-action-calling-snippet/3490>\
**Category:** Questions\
**Tags:** v2\
**Created:** [March 3, 2016, 12:26am UTC](https://forum.getkirby.com/t/uniform-get-from-email-in-action-calling-snippet/3490 "2016-03-03T00:26:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnomei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bnomei/32/775_2.png) [@bnomei](https://forum.getkirby.com/u/bnomei)\
**Post date:** [March 3, 2016, 12:26am UTC](https://forum.getkirby.com/t/uniform-get-from-email-in-action-calling-snippet/3490/1 "2016-03-03T00:26:33Z")

</div>

i want to create a newsletter double opt in.

- the user enters their email in a uniform form and clicks submit.
- then an email action triggers and they get a \_recieve-copy mail with an custom link created by a [snippet](https://github.com/mzur/kirby-uniform/wiki/Action:-Email#snippet).
- like: click here to subscribe to our newsletter [Example Domain](http://www.example.com?email=your%40email.com&newsletter-optin=yes)

but i can not get the users email within the snippet. \_from is private and blocked in the action. is there any way without changing the action?  
[https://github.com/mzur/kirby-uniform/blob/master/uniform/actions/email.php#L36](https://github.com/mzur/kirby-uniform/blob/master/uniform/actions/email.php#L36)

maybe @mzur can help?

---

<div class="post-metadata">

**Author:** ![bnomei](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bnomei/32/775_2.png) [@bnomei](https://forum.getkirby.com/u/bnomei)\
**Post date:** [March 3, 2016, 12:39am UTC](https://forum.getkirby.com/t/uniform-get-from-email-in-action-calling-snippet/3490/2 "2016-03-03T00:39:02Z")

</div>

it is possible already. the quoted code is called when there is no snippet. silly me. 😊

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:00pm UTC](https://forum.getkirby.com/t/uniform-get-from-email-in-action-calling-snippet/3490/3 "2025-02-06T17:00:06Z")

</div>


