-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotifyCustomers.h
More file actions
36 lines (33 loc) · 1008 Bytes
/
Copy pathNotifyCustomers.h
File metadata and controls
36 lines (33 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef NOTIFYCUSTOMERS
#define NOTIFYCUSTOMERS
#include<stdlib.h>
#include<string>
#include <vector>
using namespace std;
/**
* @brief This class allows is responsible for sending email notifications to customers
* @author Abdulrahim Hamed (ahamed4)
* @author Braikhna Yousafzai (byousafz)
* @author Colin Stoddart (cstodda6)
* @author Evangelos Makris (emakris2)
* @author Jem Parlakyigit (mparlaky)
*/
class NotifyCustomers{
public:
/**
* @brief Sends an email to a list of emails
*
* @param emails A vector containing all the emails to send the message to
* @param subject the subject of the email
* @param msg The message to be sent to the emails
*/
static void sendEmail(vector<string> emails, string subject, string msg);
/**
* @brief Sends an email to a list of emails
*
* @param emails A vector containing all the emails to send the message to
* @param msg The message to be sent to the emails
*/
static void sendEmail(vector<string> emails, string msg);
};
#endif