When I am using this function
SendMail["To" -> "mounika2018.wolfram@gmail.com",
"Subject" -> "Example Message", "Body" -> "My text",
"From" -> "mounika.p045@gmail.com", "Server" -> "smtp.gmail.com",
"UserName" -> "", "Password" -> None, "PortNumber" -> 465,
"EncryptionProtocol" -> "SSL"]
