This is program for sending mail by smtp protocol.
Configure your email and smtp service here
This is a sample project
This file has three functions:
current_date - it displays the current date in format dd/mm/yyyy
file_to_text - it сonverts file to plain text
send_mail_smtp - this is function for sending mail by smtp protocol.