# Email event trigger

**URL:** <https://community.hivepress.io/t/email-event-trigger/8273>\
**Category:** HivePress\
**Created:** [November 17, 2023, 1:22pm UTC](https://community.hivepress.io/t/email-event-trigger/8273 "2023-11-17T13:22:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![d-randm](https://community.hivepress.io/letter_avatar_proxy/v4/letter/d/6a8cbe/32.png) [@d-randm](https://community.hivepress.io/u/d-randm)\
**Post date:** [November 17, 2023, 1:22pm UTC](https://community.hivepress.io/t/email-event-trigger/8273/1 "2023-11-17T13:22:32Z")

</div>

Hi,

I’m trying to intercept the event email sent for request received.  
For example my vendor received an email about request received and I would like to send a message to him.  
I tried to intercept the action:

```auto
function send_sms() {
	error_log('Event trigger when request received!!');
}
add_action('hivepress/v1/emails/request_received/send', 'send_sms');

```

but nothing was wrote on log, can I intercept this action? Or I am doing something wrong?

Regards

---

<div class="post-metadata">

**Author:** ![yevhen](https://community.hivepress.io/user_avatar/community.hivepress.io/yevhen/32/23_2.png) [@yevhen](https://community.hivepress.io/u/yevhen)\
**Post date:** [November 23, 2023, 5:01am UTC](https://community.hivepress.io/t/email-event-trigger/8273/3 "2023-11-23T05:01:41Z")

</div>

Thank you for waiting. Please try to change `request_received` to `request_send` in the hook name.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [December 23, 2023, 5:01am UTC](https://community.hivepress.io/t/email-event-trigger/8273/4 "2023-12-23T05:01:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
