CarnageOP10 commited on
Commit
01a3a9e
·
verified ·
1 Parent(s): 23242d2

email sender done. needs-> ur id, ur app pwd, receiver's id, body and subject

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def tool_email_sender(sender:str, pwd:str, reciever:str, subject:str, body:str)-
43
 
44
  server.sendmail(SENDER_EMAIL, RECIEVER_EMAIL, message.as_string())
45
 
46
- return f"Email sent successfully to {RECIEVER_EMAIL}"
47
 
48
  except Exception as e:
49
  return f"Unexpected error while sending email: {str(e)}"
 
43
 
44
  server.sendmail(SENDER_EMAIL, RECIEVER_EMAIL, message.as_string())
45
 
46
+ return f"Email sent successfully to {RECIEVER_EMAIL}"
47
 
48
  except Exception as e:
49
  return f"Unexpected error while sending email: {str(e)}"