This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.softwareological.obsidian_robot.TPC; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.net.Socket; | |
import java.util.Scanner; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Sir, please not that they will have to enable unknown application management on the senders gmail account | |
'The port number and host uset here are for gmail accounts | |
Try | |
Dim Smtp_Server As New SmtpClient | |
Dim e_mail As New MailMessage() | |
Smtp_Server.UseDefaultCredentials = False | |
Smtp_Server.Credentials = New Net.NetworkCredential("senders_username", "senders_password") | |
Smtp_Server.Port = 587 | |
Smtp_Server.EnableSsl = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################################### | |
# Assignment 1 Solution # | |
# # | |
# Author: Kaylen Travis Pillay # | |
# Date: 2017/06/24 # | |
# # | |
# NB: # | |
# Please note that this is a SUGGESTED solution. Therefore # | |
# if your our output is the same, you should take the coding # | |
# style from this suggestion. # |