Back to problems

Email Time Update Problem

Algorithm · Stripe · Easy

Create a function that changes the recorded received timestamp for an email. It accepts an email ID along with a timestamp and stores that timestamp as the email's received time. When the operation cannot be completed, return the appropriate error text. Input email_id (string): The ID associated with the email to modify. timestamp (string): The replacement received-time value, written as YYYY-MM-DD HH:MM:SS. Output Return SUCCESS when the timestamp is updated. Return ERROR:…

Checking your access…