Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
char cmd[200];
char to[] = "user@host";
char subject[] = "testing 1 2 3";
sprintf( cmd, "mail -s %s %s < file.txt", subject, to );
system( cmd );
FILE *fp;
char cmd[200];
char to[] = "user@host";
char subject[] = "testing 1 2 3";
sprintf( cmd, "mail -s %s %s", subject, to );
fp = popen( cmd, "w" );
fprintf( fp, "Hello world\n" ); // the message to send
pclose( fp );