#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/timeb.h>
#include <string.h>
#ifdef __linux__
#include <unistd.h>
#else
#include <Windows.h>
#endif
{
}
int main(int argc, char *argv[])
{
char smtp_server_address[50];
char email_account_username[50];
char email_account_password[50];
char email_address[50];
char email_name[50];
char text_to_cell_phone_number[50];
char text_to_cell_phone_carrier[50];
char group_name[50];
char text[50];
strcpy(smtp_server_address, "smtp.gmail.com");
strcpy(email_account_username, "mrsock@gmail.com");
strcpy(email_account_password, "liveandprosper");
strcpy(email_address, "mrsock@gmail.com");
strcpy(email_name, "Mr Sock");
email_address, email_name, verify_cert_authorities, generate_curl_debug_messages) ==
SUCCESS)
{
strcpy(text_to_cell_phone_number, "123-456-7890");
strcpy(text_to_cell_phone_carrier, "T-MOBILE");
strcpy(group_name, "dogs rule");
{
strcpy(text_to_cell_phone_number, "2345678901");
strcpy(text_to_cell_phone_carrier, "AT&T");
{
strcpy(text, "Dogs are smarter than cats.");
{
printf("Error Failed to SendText.\n");
return 0;
}
}
else
{
printf("Error Failed to AddTextToCellPhoneNumber.\n");
return 0;
}
}
else
{
printf("Error Failed to AddTextToCellPhoneNumber.\n");
return 0;
}
}
else
{
printf("Error Failed to InitializeToolkitEmail.\n");
return 0;
}
#ifdef __linux__
sleep(10);
#else
Sleep(10000);
#endif
char config_pathname[256];
char home_path[256];
{
}
sprintf(config_pathname, "%s/email_config.txt", home_path);
{
printf("Error Failed to InitToolkitEmail.\n");
}
strcpy(text, "Dogs are smarter than cats.");
{
printf("Error Failed to SendEmail.\n");
return 0;
}
#ifdef __linux__
sleep(10);
#else
Sleep(10000);
#endif
return 0;
}