SendEmail module

SendEmail.sendEmail(receiver, itemName, url)

Sends the notification email to the user. Takes in the user’s email, product name, and product url as input. In order to send the email, please prepare an email account and fill in the gmail_user for email address and gmail_password for password.

Parameters
  • receiver – The email address of the receiver(User)

  • itemName – The name of the the product

  • url – URL of the product

Returns

1 if the email sent successfully, 0 if not