# Capture \[info\] \[e-mail:example@test.com\] events from log to file

**URL:** <https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149>\
**Category:** General\
**Created:** [12 June 2023 14:16 UTC](https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149 "2023-06-12T14:16:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnnyPicnic](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/johnnypicnic/32/34787_2.png) [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Post date:** [12 June 2023 14:16 UTC](https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149/1 "2023-06-12T14:16:35Z")

</div>

Is it possible to watch the log for specific info events that are outgoing e-mails?  
I would like to send all [info] [e-mail:example@test] events to a separate file.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [12 June 2023 14:54 UTC](https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149/2 "2023-06-12T14:54:53Z")

</div>

> watch the log  
> What 'log' are you talking about? The Node-RED log?

You need to give a more information about your issue.

---

<div class="post-metadata">

**Author:** ![JohnnyPicnic](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/johnnypicnic/32/34787_2.png) [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Post date:** [12 June 2023 15:23 UTC](https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149/3 "2023-06-12T15:23:42Z")

</div>

Ya the Node-RED log.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [12 June 2023 16:39 UTC](https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149/4 "2023-06-12T16:39:22Z")

</div>

So you have a flow sending out email…right?  
If so why not examine the email before it is sent and if need be, write it to a file and then send it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 August 2023 16:39 UTC](https://discourse.nodered.org/t/capture-info-e-mail-example-test-com-events-from-log-to-file/79149/5 "2023-08-11T16:39:45Z")

</div>

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