A small C/C++ experiment for triggering email-sending behavior from a C-style program.
Legacy learning project. The code is preserved, but the Gmail/security flow described by the original version is outdated.
Mail.h- header/library experimentExample.cpp- example usage
Include the header from a C/C++ program:
#include <stdio.h>
#include <stdlib.h>
#include <Mail.h>The original API exposed:
Init()fillDat()SendMail()
Do not use old "less secure app access" Gmail workflows. Modern email integrations should use app passwords, OAuth, or a trusted mail API provider.
This was an early systems/programming experiment around connecting C/C++ code with mail automation.