# The flow is sending the same message/image twice to me

**URL:** <https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720>\
**Category:** General\
**Created:** [25 February 2023 07:24 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720 "2023-02-25T07:24:56Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 February 2023 18:47 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720/21 "2023-02-25T18:47:18Z")

</div>

Are you absolutely sure that there are not two email messages being sent?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 February 2023 18:53 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720/22 "2023-02-25T18:53:14Z")

</div>

Another thought. Since you are running your own server you should be able to look at they server logs and work out what is happening.

---

<div class="post-metadata">

**Author:** ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)\
**Post date:** [25 February 2023 19:07 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720/23 "2023-02-25T19:07:00Z")

</div>

I'm not running my own mail server, it's from [simply.com](http://simply.com).

I can get 4 messages, but it's 4 unique images, and then next time the flow is running, I get the 4 same images again for the 2. time.

But I have now added this "old" duplicate/deduplicate node, and its working 100%  
Now I still get two image of each message/mail, but the duplicated message is stopped with [node-red-contrib-deduplicate (node) - Node-RED (nodered.org)](https://flows.nodered.org/node/node-red-contrib-deduplicate) I have added it after my function node.

I can remember that I had some issuse with the "email" node:  
[How to send purge message with node-red-node-email - General - Node-RED Forum (nodered.org)](https://discourse.nodered.org/t/how-to-send-purge-message-with-node-red-node-email/72542)

And then suddenly a few days later, the node was updated and then it worked.  
So I think that this issue is also due to an error in the "Email" node and that it is probably currently only I have experienced it.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 February 2023 19:33 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720/24 "2023-02-25T19:33:49Z")

</div>

> [@tpbillund](#):
>
> I'm not running my own mail serve

Sorry, I misread your earlier post.

> [@tpbillund](#):
>
> I get the 4 same images again for the 2. time.

In that case, apparently the server is not deleting them the first time.

The filter node will not fix that, it would only work if the messages were immediately repeated one at a time.

---

<div class="post-metadata">

**Author:** ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)\
**Post date:** [25 February 2023 19:34 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720/25 "2023-02-25T19:34:26Z")

</div>

See same post again, have edit the text in it 🙂  
But THX for your time...

---

<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 March 2023 21:20 UTC](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720/27 "2023-03-11T21:20:05Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/the-flow-is-sending-the-same-message-image-twice-to-me/75720.md?page=1)
