Validation in sending messages through smtp

how to validate that an SMTP message is sent only once in a certain time (for example: 15:30) and then no longer send until the next day at the same time? Any idea how to do this please 0.0

what happens that I have it validated by the time = 15: 00 but sometimes the process is delayed in executing and arrives at this conditional at 15:01 for example, then the validation is passed.

Hi,

You can use Read Text File and Write Text File activities to achieve this issue.

When you sending mail then write the text file with System.DateTime.Now.ToString(“MM/dd/yyyy”) + " SENT"

Then check next day by reading it if the date is not matching then you can send the mail and update the sheet accordingly.

Thanks.

Okay, thanks for your help :slight_smile: