Skip to content

Trosper3/SMTP_Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

This program sends an email via SMTP based on the necessary protocols via TCP.

Operation:

  1. Change msg = () leaving the format the same, but changing values to reflect what you want.

    • "From: [your_Name] <[your_email]>\r\n
    • "To: [their_Name] <[their_email]>\r\n"
    • "Subject: [Subject]\r\n"
    • "Date: Fri, 21 Nov 1997 09:55:06 -0600\r\n" // Edit if you want
    • "Message-ID: [email protected]\r\n" // Edit if you want
    • "\r\n"
    • "[Message]\r\n"
  2. Edit mailserver with your desired mailserver.

  3. Update mailport with desired port number (default for SMTP is 587)

  4. Edit MAIL FROM:<your_email> in line 55

  5. Edit RCPT TO:<their_email> in line 60

  6. Run Program

About

A program that sends an email via SMTP and TCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages