Operating system:: Windows 10
Outlook version: Classic Outlook
Email type or host: IMAP
Outlook version: Classic Outlook
Email type or host: IMAP
Hi there,
Not sure if this is a question that's been asked before, but I couldn't find an exact answer for what I am looking for.
We use a platform that can send us email alerts when a customer's water consumption has reached a certain threshold. So e.g the customer uses 4500L of water by 3pm, and we get an email alert. Unfortunately for some reason, the platform creators thought it would be a good idea to not only send that alert once, but to send it every 10 minutes thereafter. So that by midnight, you've received 100 alerts. Our one customer has 51 stores that we're reading their consumption, so you can just imagine the amount of alerts will get ridiculous. The developers of the platform are saying this is not a bug and have put it on their "custom development list" to help us, but I know from previous issues that it will take months to resolve, and in the interim, I want to help our customer.
As a result, I have had to send the alerts to myself (they automatically go into a folder so they don't overwhelm my inbox) and am then forwarding only the first one of the day to my customer manually. I would like to automate this, and I see plenty of VBA code for forwarding mails, but I am not entirely sure how I would get it to only send the first one. I was thinking about a loop that ends after it finds the store name for the first time that day, but not entirely sure how to do that.
The subject line of the emails is:
"Store Name Water cumulated value on 13 June 2024 went over 4500.0l at 08:30" - With the time changing each 10 minutes that I get the next email.
Any advice would be appreciated!
Thanks!
Not sure if this is a question that's been asked before, but I couldn't find an exact answer for what I am looking for.
We use a platform that can send us email alerts when a customer's water consumption has reached a certain threshold. So e.g the customer uses 4500L of water by 3pm, and we get an email alert. Unfortunately for some reason, the platform creators thought it would be a good idea to not only send that alert once, but to send it every 10 minutes thereafter. So that by midnight, you've received 100 alerts. Our one customer has 51 stores that we're reading their consumption, so you can just imagine the amount of alerts will get ridiculous. The developers of the platform are saying this is not a bug and have put it on their "custom development list" to help us, but I know from previous issues that it will take months to resolve, and in the interim, I want to help our customer.
As a result, I have had to send the alerts to myself (they automatically go into a folder so they don't overwhelm my inbox) and am then forwarding only the first one of the day to my customer manually. I would like to automate this, and I see plenty of VBA code for forwarding mails, but I am not entirely sure how I would get it to only send the first one. I was thinking about a loop that ends after it finds the store name for the first time that day, but not entirely sure how to do that.
The subject line of the emails is:
"Store Name Water cumulated value on 13 June 2024 went over 4500.0l at 08:30" - With the time changing each 10 minutes that I get the next email.
Any advice would be appreciated!
Thanks!