<prompt> Hlahisa snippet ea khoutu bakeng sa ho iketsetsa mosebetsi.Mongolo o iketsetsang mokhoa oa ho romella mangolo-tsoibila.  <response>: Instruction in English: Generate a code snippet for automating a task. . Response in English: Here is a Python script that can automate the process of sending emails using the smtplib library:pythonimport smtplibfrom email.message import EmailMessagedef send_emailto, subject, body: msg EmailMessage msg.set_contentbody msgSubject subject msgTo to user msgFrom user password yourpassword server smtplib.SMTPsmtp.example.com, 587 server.starttls server.loginuser, password server.send_messagemsg server.quit Example Test Subject, This is a test email.This script creates a function called send_email that takes the recipients email address, subject, and body of the email as input. It then uses the smtplib library to log in to the email server and send the message. You will need to replace yourpassword, and smtp.example.com with your own email credentials and server information. . Response in Sesotho: Mona ke mongolo oa Python o ka iketsetsang mokhoa oa ho romella mangolo-tsoibila ho sebelisa laeborari ea smtplib: python import smtplib from email.message import EmailMessage def send_emailho, sehlooho, body: msg EmailMessage msg.set_contentbodybody msgSubject subject msgTo to user msgFrom user password yourpassword server smtplib.SMTPsmtp.example. com, 587 server.starttls server.loginmosebedisi, phasewete server.send_messagemsg server.quit Mohlala Sehlooho sa Teko, Ena ke lengolo-tsoibila la teko. Sengoliloeng sena se etsa mosebetsi o bitsoang send_email o nkang aterese ea lengolo-tsoibila, sehlooho le mele oa lengolo-tsoibila e le mongolo. E ntano sebelisa laebrari ea smtplib ho kena ho seva sa lengolo-tsoibila le ho romella molaetsa. U tla hloka ho khutlisa password ea hau, le smtp.example.com ka mangolo-tsoibila a hau a lengolo-tsoibila le lintlha tsa seva. 